Skip to content

Commit

Permalink
update new po
Browse files Browse the repository at this point in the history
  • Loading branch information
yoelcortes committed Mar 11, 2024
1 parent 9d83feb commit 230e1c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermosteam/_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def _create_linear_equations(self, variable):
def _get_decoupled_variable(self, variable): pass

def _update_decoupled_variable(self, variable, value):
if variable in ('mol', 'mol-LLE'):
if variable == 'material':
value[value < 0] = 0
self.mol[:] = value
else:
Expand Down

0 comments on commit 230e1c9

Please sign in to comment.