Fix order of arguments in function call.
Rate and fractional flow were switched in call to computePhaseFlowRatesPerWell().
This commit is contained in:
parent
6014eb347e
commit
52d97cfc1c
@ -407,8 +407,8 @@ namespace Opm
|
||||
// Optionally, check if well controls are satisfied.
|
||||
if (check_well_controls_) {
|
||||
Opm::computePhaseFlowRatesPerWell(*wells_,
|
||||
fractional_flows,
|
||||
well_state.perfRates(),
|
||||
fractional_flows,
|
||||
well_resflows_phase);
|
||||
std::cout << "Checking well conditions." << std::endl;
|
||||
// For testing we set surface := reservoir
|
||||
|
Loading…
Reference in New Issue
Block a user