diff --git a/include/teqp/algorithms/VLE.hpp b/include/teqp/algorithms/VLE.hpp index 257ba53a32a76eb747513c180af6008659bad6fd..03bca2aa6ca54cb4c76e6c3807d007e58fb025da 100644 --- a/include/teqp/algorithms/VLE.hpp +++ b/include/teqp/algorithms/VLE.hpp @@ -853,7 +853,7 @@ auto trace_VLE_isotherm_binary(const Model &model, Scalar T, VecType rhovecL0, V using ct = CriticalTracing<Model, Scalar, VecType>; auto condsL = ct::get_criticality_conditions(model, T, rhovecL); auto condsV = ct::get_criticality_conditions(model, T, rhovecV); - if (condsL[0] < 1e-12 or condsV[0] < 1e-12){ + if (condsL[0] < 1e-12 || condsV[0] < 1e-12){ return true; } } @@ -1093,7 +1093,7 @@ auto trace_VLE_isobar_binary(const Model& model, Scalar p, Scalar T0, VecType rh using ct = CriticalTracing<Model, Scalar, VecType>; auto condsL = ct::get_criticality_conditions(model, T, rhovecL); auto condsV = ct::get_criticality_conditions(model, T, rhovecV); - if (condsL[0] < 1e-12 or condsV[0] < 1e-12) { + if (condsL[0] < 1e-12 || condsV[0] < 1e-12) { return true; } }