Skip to content

Commit

Permalink
bugfix for AbstractSparseBasis; ack DavKov
Browse files Browse the repository at this point in the history
  • Loading branch information
cortner committed Dec 7, 2021
1 parent 0068b75 commit f6caa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basisselectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ level(b::Onepb, Bsel::AbstractSparseBasis, basis::OneParticleBasis) =

level(bb::Prodb, Bsel::AbstractSparseBasis, basis::OneParticleBasis) = (
length(bb) == 0 ? 0.0
: norm( degree.(bb, Ref(Bsel), Ref(basis)), Bsel.p ) )
: norm( level.(bb, Ref(Bsel), Ref(basis)), Bsel.p ) )

maxlevel(bb::Prodb, Bsel::AbstractSparseBasis, basis::OneParticleBasis) =
maxlevel(length(bb), Bsel, basis)
Expand Down

0 comments on commit f6caa86

Please sign in to comment.