From 230e1c958861e3c0f7eb014e53e78e56e2e14054 Mon Sep 17 00:00:00 2001 From: Yoel Cortes-Pena Date: Mon, 11 Mar 2024 00:48:43 -0500 Subject: [PATCH] update new po --- thermosteam/_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: