Fix error message.
This commit is contained in:
parent
373f628095
commit
75382c7f9e
@ -544,7 +544,7 @@ namespace Opm
|
|||||||
cf[pu.phase_pos[BlackoilPhases::Liquid]] = 1.0;
|
cf[pu.phase_pos[BlackoilPhases::Liquid]] = 1.0;
|
||||||
} else if (wci_line.injector_type_[0] == 'G') {
|
} else if (wci_line.injector_type_[0] == 'G') {
|
||||||
if (!pu.phase_used[BlackoilPhases::Vapour]) {
|
if (!pu.phase_used[BlackoilPhases::Vapour]) {
|
||||||
THROW("Water phase not used, yet found water-injecting well.");
|
THROW("Gas phase not used, yet found gas-injecting well.");
|
||||||
}
|
}
|
||||||
cf[pu.phase_pos[BlackoilPhases::Vapour]] = 1.0;
|
cf[pu.phase_pos[BlackoilPhases::Vapour]] = 1.0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user