fix typo in version of getInvB_() for generic fluid states

This commit is contained in:
Andreas Lauser 2018-01-19 11:31:50 +01:00
parent d3b20fa5c5
commit 4416b4ae83

View File

@ -65,7 +65,7 @@ LhsEval getInvB_(typename std::enable_if<!HasMember_invB<FluidState>::value,
{
const auto& rho = fluidState.density(phaseIdx);
const auto& Xsolvent =
fluidState.massFraction(phaseIdx, FluidSystem::solventComponentIndx(phaseIdx));
fluidState.massFraction(phaseIdx, FluidSystem::solventComponentIndex(phaseIdx));
unsigned pvtRegionIdx = getPvtRegionIndex_(fluidState);
return