fxing the warning related to compIdx in PTFlash
This commit is contained in:
parent
41a489c9ad
commit
1728d53371
@ -1092,6 +1092,7 @@ protected:
|
||||
for (unsigned idx = 0; idx < num_deri; ++idx) {
|
||||
L_eval.setDerivative(idx, deriL[idx]);
|
||||
}
|
||||
}
|
||||
|
||||
// set up the mole fractions
|
||||
for (unsigned compIdx = 0; compIdx < numComponents; ++compIdx) {
|
||||
@ -1099,7 +1100,6 @@ protected:
|
||||
fluid_state.setMoleFraction(FluidSystem::gasPhaseIdx, compIdx, y[compIdx]);
|
||||
}
|
||||
fluid_state.setLvalue(L_eval);
|
||||
}
|
||||
} //end updateDerivatives
|
||||
|
||||
// TODO: or use typename FlashFluidState::Scalar
|
||||
|
Loading…
Reference in New Issue
Block a user