You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading some models generated from old code I have to explicitly import the following function and extend read_dict:
function ACEbase.FIO.read_dict(::Val{:ACE_VectorOfNumber}, D::Dict)
T =read_dict(D["T"])
A =T.(D["real"])
if T <:Complex
A[:] .+= im .* D["imag"]
endreturn A
end
Maybe a warning should be prompted together with this work around for people who do not aware this or is it a problem from my end?
The text was updated successfully, but these errors were encountered:
When reading some models generated from old code I have to explicitly import the following function and extend
read_dict
:Maybe a warning should be prompted together with this work around for people who do not aware this or is it a problem from my end?
The text was updated successfully, but these errors were encountered: