diff --git a/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh b/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh index ad1d3cba5cb4ad963db6dcc62a57c7da1e252047..b9567905292e786e6a14f1b779117fac6046f4f9 100644 --- a/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh +++ b/dumux/material/constraintsolvers/compositionfromfugacities2pncmin.hh @@ -42,7 +42,7 @@ class compositionFromFugacities2pncmin { enum { numComponents = FluidSystem::numComponents, - numMajorComponents = FluidSystem::numMajorComponents + numMajorComponents = FluidSystem::numPhases }; typedef typename FluidSystem::ParameterCache ParameterCache; @@ -143,4 +143,4 @@ protected: }; } // end namespace Dumux -#endif \ No newline at end of file +#endif