From d9c33e304388704b22e9f521e41787959b2236f3 Mon Sep 17 00:00:00 2001 From: Yoel Cortes-Pena Date: Thu, 18 Jan 2024 21:34:16 -0600 Subject: [PATCH] fix minor issue --- biosteam/units/phase_equilibrium.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/biosteam/units/phase_equilibrium.py b/biosteam/units/phase_equilibrium.py index 96f84087..8d9e3583 100644 --- a/biosteam/units/phase_equilibrium.py +++ b/biosteam/units/phase_equilibrium.py @@ -541,7 +541,7 @@ def _run_decoupled_Kgamma(self, P=None): # Psuedo-equilibrium K = gamma_x / gamma_y good = (x != 0) | (y != 0) if not good.all(): - index = np.where(good) + index, = np.where(good) IDs = [IDs[i] for i in index] gamma_y = [gamma_y[i] for i in index] self._set_arrays(IDs, gamma_y=gamma_y, K=K)