Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

csfs(...) fails for closed configurations #109

Open
jagot opened this issue Dec 20, 2022 · 0 comments
Open

csfs(...) fails for closed configurations #109

jagot opened this issue Dec 20, 2022 · 0 comments

Comments

@jagot
Copy link
Member

jagot commented Dec 20, 2022

julia> csfs(c"[Ar]*")
1-element Vector{NonRelativisticCSF{Orbital{Int64}, Seniority}}:
 1(₀¹S|¹S) 2(₀¹S|¹S) 2p⁶(₀¹S|¹S) 3(₀¹S|¹S) 3p⁶(₀¹S|¹S)+

julia> csfs(c"[Ar]")
ERROR: MethodError: no method matching AtomicLevels.allchoices(::Vector{Any})
Closest candidates are:
  AtomicLevels.allchoices(::Vector{V}) where {T, V<:AbstractVector{T}} at ~/.julia/packages/AtomicLevels/7wZwh/src/allchoices.jl:5
  AtomicLevels.allchoices(::Vector{V}, ::Vector{Int64}) where {T, V<:AbstractVector{T}} at ~/.julia/packages/AtomicLevels/7wZwh/src/allchoices.jl:2
Stacktrace:
 [1] csfs(config::Configuration{Orbital{Int64}})
   @ AtomicLevels ~/.julia/packages/AtomicLevels/7wZwh/src/csfs.jl:106
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant