-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
With the latest version of ACEpotentials, creating a model using a correlation order of 4 seems to return an error. Similarly for correlation order above 4.
julia> using ACEpotentials
julia> ace1_model(elements = [:Si],
order = 4,
totaldegree = 16,
rcut = 6.0)Output:
ERROR: InexactError: Float64(0.3903577709314921 + 0.0013278005676369202im)
Stacktrace:
[1] Real
@ ./complex.jl:44 [inlined]
[2] convert
@ ./number.jl:7 [inlined]
[3] push!
@ ./array.jl:1118 [inlined]
[4] _rpi_A2B_matrix(cgen::RepLieGroups.O3.Rot3DCoeffs_real{0, ComplexF64}, spec::Vector{Vector{@NamedTuple{…}}})
@ EquivariantModels ~/.julia/packages/EquivariantModels/MGMmH/src/builder.jl:135
[5] _generate_ace_model(rbasis::ACEpotentials.Models.SplineRnlrzzBasis{…}, Ytype::Symbol, AA_spec::Vector{…}, Vref::ACEpotentials.Models.OneBody{…}, level::ACEpotentials.Models.TotalDegree, pair_basis::ACEpotentials.Models.SplineRnlrzzBasis{…})
@ ACEpotentials.Models ~/.julia/packages/ACEpotentials/lI0MC/src/models/ace.jl:108
[6] ace_model(rbasis::ACEpotentials.Models.SplineRnlrzzBasis{…}, Ytype::Symbol, AA_spec::Vector{…}, level::ACEpotentials.Models.TotalDegree, pair_basis::ACEpotentials.Models.SplineRnlrzzBasis{…}, Vref::ACEpotentials.Models.OneBody{…})
@ ACEpotentials.Models ~/.julia/packages/ACEpotentials/lI0MC/src/models/ace.jl:155
[7] ace_model(; elements::Vector{…}, order::Int64, Ytype::Symbol, ZBL::Bool, E0s::Nothing, rin0cuts::StaticArraysCore.SMatrix{…}, rbasis::ACEpotentials.Models.SplineRnlrzzBasis{…}, rbasis_type::Symbol, maxl::Int64, maxn::Int64, maxq_fact::Float64, maxq::Symbol, init_Wradial::Symbol, level::ACEpotentials.Models.TotalDegree, max_level::Vector{…}, init_WB::Symbol, pair_maxn::Nothing, pair_basis::ACEpotentials.Models.SplineRnlrzzBasis{…}, pair_learnable::Bool, pair_transform::Tuple{…}, init_Wpair::Symbol, rng::Random.TaskLocalRNG)
@ ACEpotentials.Models ~/.julia/packages/ACEpotentials/lI0MC/src/models/ace_heuristics.jl:219
[8] ace1_model(; kwargs::@Kwargs{elements::Vector{Symbol}, order::Int64, totaldegree::Int64, rcut::Float64})
@ ACEpotentials.ACE1compat ~/.julia/packages/ACEpotentials/lI0MC/src/ace1_compat.jl:406
[9] top-level scope
@ REPL[5]:1
Some type information was truncated. Use `show(err)` to see complete types.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels