Skip to content

Commit

Permalink
fix auto modlule kwargs in PeriodicPairIndexerMemory class
Browse files Browse the repository at this point in the history
  • Loading branch information
shinkle-lanl committed Jan 12, 2024
1 parent 315f801 commit db01442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hippynn/graphs/nodes/pairs.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class PeriodicPairIndexerMemory(PeriodicPairIndexer, Memory):
def __init__(self, name, parents, dist_hard_max, skin, module="auto", module_kwargs=None, **kwargs):
if module_kwargs is None:
module_kwargs = {}
self.expand0module_kwargs = {"skin": skin, **module_kwargs}
self.module_kwargs = {"skin": skin, **module_kwargs}

super().__init__(name, parents, dist_hard_max, module=module, module_kwargs=self.module_kwargs, **kwargs)

Expand Down

0 comments on commit db01442

Please sign in to comment.