diff --git a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java index 9e281175e..d987fc8be 100644 --- a/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java +++ b/src/main/java/neqsim/thermodynamicoperations/flashops/Flash.java @@ -271,7 +271,7 @@ public void stabilityAnalysis() throws neqsim.util.exception.IsNaNException, x[j][i] = clonedSystem.getPhase(j).getComponent(i).getx(); } // System.out.println("tm " + tm[j]); - if (tm[j] < -1e-4 && error[j] < 1e-4) { + if (tm[j] < -1e-4 && error[j] < 1e-6) { break; } else { tm[j] = 1.0;