Skip to content

Commit

Permalink
fix silly mistake in last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cortespea committed Dec 17, 2023
1 parent 613a5b2 commit 4868c48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions biosteam/units/phase_equilibrium.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4868c48

Please sign in to comment.