Skip to content

Commit

Permalink
fix: bug with Oil Test increase (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sviatose authored Jun 21, 2024
1 parent 984f484 commit 098761f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public double calcBeta(double[] K, double[] z) throws neqsim.util.exception.IsNa
nybeta = 1.0 - betal;
}
step = gbeta / deriv;
} while (Math.abs(step) >= 1.0e-10 && iterations < maxIterations);
} while (Math.abs(step) >= 1.5e-10 && iterations < maxIterations);
if (nybeta <= tolerance) {
nybeta = tolerance;
} else if (nybeta >= 1.0 - tolerance) {
Expand Down

0 comments on commit 098761f

Please sign in to comment.