Skip to content

Commit

Permalink
Bug fix: Removed erroneous constraint skip
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-Forrest committed Feb 27, 2023
1 parent e760a19 commit 9a584b6
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions metallurgy/alloy.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,6 @@ def rescale(self):

if len(self.composition) < 1:
return
elif len(self.composition) == 1:
self.composition.__setitem__(
self.elements[0], 1.0, respond_to_change=False
)
return

self.rescaling = True

Expand Down

0 comments on commit 9a584b6

Please sign in to comment.