Skip to content

Commit

Permalink
Merge pull request #7 from j-iga/main
Browse files Browse the repository at this point in the history
CB72 n<2 getDln fix
  • Loading branch information
MathieuRoule authored May 9, 2024
2 parents f9b43cb + 39d1943 commit c7e7630
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/CB72.jl
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,11 @@ function getDln(basis::CB72Basis,
#####
# # Deduce density basis elements at azimuthal number l without prefactors
#####
Dln = u2 - u0
if n<2
Dln = u2
else
Dln = u2 - u0
end
#####
# Adding prefactors
#####
Expand Down

0 comments on commit c7e7630

Please sign in to comment.