diff --git a/thermosteam/_stream.py b/thermosteam/_stream.py index dad062ea..1f95a908 100644 --- a/thermosteam/_stream.py +++ b/thermosteam/_stream.py @@ -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: