Skip to content

Commit

Permalink
minor opt
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Stevens <[email protected]>
  • Loading branch information
fgrunewald and jan-stevens authored Sep 26, 2023
1 parent 9b8dc48 commit c36392a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyply/src/meta_molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def __init__(self, *args, **kwargs):
self.max_resid = self.nodes[node]["resid"]

def add_node(self, *args, **kwargs):
self.max_resid = self.max_resid + 1
self.max_resid += 1
kwargs["resid"] = self.max_resid
super().add_node(*args, **kwargs)

Expand Down

0 comments on commit c36392a

Please sign in to comment.