Commit f525d23b authored by Timo Koch's avatar Timo Koch
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent dc317ca2
......@@ -181,7 +181,7 @@ public:
// would get negative molar volumes for the liquid phase, we
// consider the liquid phase non-existant.)
// Note that invertCubicPolynomial sorts the roots in ascending order
if (numSol > 1 && Z[0] <= 0) {
if (numSol > 1 && Z[0] <= 0.0) {
Z[0] = Z[numSol - 1];
numSol = 1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment