Skip to content

Commit

Permalink
Merge pull request OPM#5623 from GitPaean/typo_correction
Browse files Browse the repository at this point in the history
xmfData to ymfData, typo correction
  • Loading branch information
GitPaean authored Sep 23, 2024
2 parents dddcfad + 68503eb commit 5137f51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opm/simulators/flow/FlowProblemComp.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ class FlowProblemComp : public FlowProblem<TypeTag>
for (unsigned compIdx = 0; compIdx < numComponents; ++compIdx) {
const std::size_t data_idx = compIdx * numDof + dofIdx;
const Scalar xmf = xmfData[data_idx];
const Scalar ymf = xmfData[data_idx];
const Scalar ymf = ymfData[data_idx];

dofFluidState.setMoleFraction(FluidSystem::oilPhaseIdx, compIdx, xmf);
dofFluidState.setMoleFraction(FluidSystem::gasPhaseIdx, compIdx, ymf);
Expand Down

0 comments on commit 5137f51

Please sign in to comment.