Back to all E ≤ Emax (instead of every other)

This commit is contained in:
Nuwan Yapa 2024-04-19 15:28:02 -04:00
parent fce2f997c8
commit 43c4a5941c
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ function get_2p_basis(E_max)
l2s = Int[]
# E = 2*n1 + l1 + 2*n2 + l2
for E in 2*E_max : -2 : 0
for E in 0 : 2 * E_max
for n1 in 0 : E ÷ 2
for n2 in 0 : (E - 2*n1) ÷ 2
for l1 in 0 : (E - 2*n1 - 2*n2)