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)