diff --git a/dumux/boxmodels/1p2c/1p2cfluidstate.hh b/dumux/boxmodels/1p2c/1p2cfluidstate.hh index f10be3c963a69a47f24f3a647453252ae97cf538..62fe12e548256645a36c847f29a939a335768bdd 100644 --- a/dumux/boxmodels/1p2c/1p2cfluidstate.hh +++ b/dumux/boxmodels/1p2c/1p2cfluidstate.hh @@ -82,7 +82,7 @@ public: (x1_ )*FluidSystem::molarMass(comp2Index); density_ = FluidSystem::phaseDensity(phaseIndex, temperature_, phasePressure_, *this); - molarDensity_ = FluidSystem::molarDensity(phaseIndex, temperature_, phasePressure_, *this); + molarDensity_ = density_ / meanMolarMass_; Valgrind::CheckDefined(x1_); Valgrind::CheckDefined(phasePressure_);