Skip to content

Commit

Permalink
refactored get_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiCheng45 committed Feb 21, 2025
1 parent 43d4118 commit 2c3b620
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_weights(self):
self._dependencies["atom_selection"]
]

weights = defaultdict(lambda: 0.0)
weights = defaultdict(float)
for name, elements in itertools.islice(
zip(
atom_selection_configurator["names"],
Expand Down

0 comments on commit 2c3b620

Please sign in to comment.