Skip to content

Commit

Permalink
No need for ang_mom in the loop.
Browse files Browse the repository at this point in the history
We put "_" instead of "ang_mom".
  • Loading branch information
sblisesivdin authored Oct 29, 2024
1 parent bfb9847 commit 35fa5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpawsolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ def projected_weights(calc):
ang_mom_a[a] = 'spd' if magn else 'sp'

# For each unique atom
a_x = [a for a in ang_mom_a for ang_mom in ang_mom_a[a]]
a_x = [a for a in ang_mom_a for _ in ang_mom_a[a]]
ang_mom_x = [ang_mom for a in ang_mom_a for ang_mom in ang_mom_a[a]]

# Get i index for each unique symbol
Expand Down

0 comments on commit 35fa5f9

Please sign in to comment.