From 4868c48a53d7a5a56236c41186ab5dea1b653de2 Mon Sep 17 00:00:00 2001 From: cortespea Date: Sun, 17 Dec 2023 16:37:28 -0600 Subject: [PATCH] fix silly mistake in last commit --- biosteam/units/phase_equilibrium.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/biosteam/units/phase_equilibrium.py b/biosteam/units/phase_equilibrium.py index 7dabecde..1e503e3a 100644 --- a/biosteam/units/phase_equilibrium.py +++ b/biosteam/units/phase_equilibrium.py @@ -626,9 +626,9 @@ def _run(self): top_flow_rates = flx.conditional_fixed_point(f, top_flow_rates) self.fallback_iter = 0 self.update( - top_flow_rates + flx.conditional_fixed_point(self._sequential_iter, top_flow_rates) if self.iter == self.maxiter - else flx.conditional_fixed_point(self._sequential_iter, top_flow_rates) + else top_flow_rates ) def _hot_start_phase_ratios_iter(self,