Skip to content

Commit e3f595a

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a385f9f commit e3f595a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpgen/generator/lib/cp2k.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def calculate_multiplicity(atom_names, atom_types, charge=0):
257257
for idx in atom_types:
258258
element = atom_names[idx]
259259
total_electrons += atomic_numbers.get(element, 0)
260-
260+
261261
# Subtract/add electrons based on system charge
262262
# Positive charge means we remove electrons, negative charge means we add electrons
263263
total_electrons -= charge

0 commit comments

Comments
 (0)