mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Fixed bug where phase_pos was used instead of phase_used
This commit is contained in:
parent
90ff56503d
commit
a93efec0e2
@ -322,8 +322,8 @@ namespace Opm
|
||||
this->compute_R_(n, p, T, z, cells, &R_[0]);
|
||||
}
|
||||
const auto& pu = phaseUsage();
|
||||
bool oil_and_gas = pu.phase_pos[BlackoilPhases::Liquid] &&
|
||||
pu.phase_pos[BlackoilPhases::Vapour];
|
||||
bool oil_and_gas = pu.phase_used[BlackoilPhases::Liquid] &&
|
||||
pu.phase_used[BlackoilPhases::Vapour];
|
||||
const int o = pu.phase_pos[BlackoilPhases::Liquid];
|
||||
const int g = pu.phase_pos[BlackoilPhases::Vapour];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user