Skip to content

Commit

Permalink
Fix reading alphabeta in get_fermi for VASP 6
Browse files Browse the repository at this point in the history
  • Loading branch information
xamberl committed Apr 23, 2024
1 parent a86efe9 commit 21481ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/software/vasp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ function get_fermi(io::IO)
readuntil(io, "E-fermi :")
ln = split(readline(io))
fermi = parse.(Float64, ln[1]) .* EV2HARTREE
alphabeta = parse.(Float64, strip(ln[5],':')) .* EV2HARTREE
alphabeta = parse.(Float64, strip(ln[end],':')) .* EV2HARTREE
return (fermi = fermi, alphabeta = alphabeta)
end

Expand Down

0 comments on commit 21481ec

Please sign in to comment.