Skip to content

Commit

Permalink
undo recent change
Browse files Browse the repository at this point in the history
  • Loading branch information
cortespea committed Oct 17, 2023
1 parent 228f09f commit fd4b297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thermosteam/equilibrium/dew_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
# @njit(cache=True)
def x_iter(x, x_gamma, T, P, f_gamma, gamma_args):
# Add back trace amounts for activity coefficients at infinite dilution
xmin = x.min()
if xmin < 1e-32: x[:] -= (xmin - 1e-32)
mask = x < 1e-32
x[mask] = 1e-32
x = fn.normalize(x)
gamma = f_gamma(x, T, *gamma_args)
denominator = gamma
Expand Down

0 comments on commit fd4b297

Please sign in to comment.