Skip to content

Commit 690ff4a

Browse files
authored
fix error in PAO norm calculation (#179)
1 parent 57cad8b commit 690ff4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nbed/localizers/virtual/projected_atomic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def _localize_virtual_spin_pao(
9797
pao_norms = np.einsum(
9898
"ji,ji->i",
9999
pao_projector[:n_act_aos],
100-
ao_overlap[:n_act_aos, :n_act_aos] @ pao_projector[:n_act_aos],
100+
(ao_overlap @ pao_projector)[:n_act_aos],
101101
)
102102
# do we need to scale the norm by the system size?
103103
# pao_norms /= n_act_aos

0 commit comments

Comments
 (0)