Skip to content

Commit

Permalink
Workaround for single-orbital cases
Browse files Browse the repository at this point in the history
  • Loading branch information
jagot committed Jun 13, 2024
1 parent 2aa72f7 commit 11c8972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/multi_configurational_equations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ function Base.diff(E::EM, orbitals::VO; verbosity=0) where {EM<:EnergyExpression
isnothing(p) || ProgressMeter.next!(p)
eq
end
if !(equations isa AbstractVector)
equations = [equations]
end

vd = collect(values(integrals.data))
verbosity > 3 && @info "Integrals" integrals.data filter((1:length(integrals.data)), vd)
Expand Down

0 comments on commit 11c8972

Please sign in to comment.