Skip to content

Commit

Permalink
bug fix in read_dict
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasSachs committed Oct 30, 2023
1 parent fc268a1 commit 1eca4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bondcutoffs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function ACE.read_dict(::Val{:ACEbonds_EllipsoidCutoff}, D::Dict)
rcutbond = D["rcutbond"]
rcutenv = D["rcutenv"]
zcutenv = D["zcutenv"]
T = D["T"]
T = getfield(Base, Symbol(D["T"]))
return EllipsoidCutoff{T}(rcutbond,rcutenv,zcutenv)
end

Expand Down

0 comments on commit 1eca4b5

Please sign in to comment.