Skip to content

Commit

Permalink
Fix tryparse for Diagonalization
Browse files Browse the repository at this point in the history
  • Loading branch information
singularitti committed Nov 19, 2023
1 parent cd45f9a commit 835bd38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PWscf/output/each.jl
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function Base.tryparse(::Type{Diagonalization}, str::AbstractString)
else
throw(ParseError("unknown diagonalization style!"))
end
ethr, avg_iter = map(Base.Fix1(parse, parse), matched.captures[2:end])
ethr, avg_iter = map(Base.Fix1(parse, Float64), matched.captures[2:end])
return Diagonalization(solver, ethr, avg_iter)
end
end
Expand Down

0 comments on commit 835bd38

Please sign in to comment.