diff --git a/dumux/material/eos/pengrobinson.hh b/dumux/material/eos/pengrobinson.hh index bd2b8e01f9ba4ad44338fe48075b62d4046c613a..734ff0ffe034eabde4708f37c2d45a8dab8de5b3 100644 --- a/dumux/material/eos/pengrobinson.hh +++ b/dumux/material/eos/pengrobinson.hh @@ -118,8 +118,7 @@ public: // Newton-Raphson method for (int i = 0; i < 5; ++i) { // calculate the molar densities - int numSol = molarVolumes(Vm, params, T, pVap); - assert(numSol == 3); + assert(molarVolumes(Vm, params, T, pVap) == 3); Scalar f = fugacityDifference_(params, T, pVap, Vm[0], Vm[2]); Scalar df_dp =