fixing the comilation problem from rebasing.

This commit is contained in:
Kai Bao
2016-10-10 11:37:22 +02:00
parent 2ddb199f4f
commit 1174da5326
4 changed files with 10 additions and 9 deletions

View File

@@ -1027,7 +1027,7 @@ namespace Opm
// Current understanding. Two ways might prevent to return the guide_rate here
// 1. preventing the well from group control with keyword WGRUPCON
// 2. the well violating some limits and working under limits.
if (!only_group || !individual_control_) {
if (!only_group || !individualControl()) {
return prodSpec().guide_rate_;
} else {
return 0.0;
@@ -1039,7 +1039,7 @@ namespace Opm
/// wells under group control
double WellNode::injectionGuideRate(bool only_group)
{
if (!only_group || !individual_control_) {
if (!only_group || !individualControl()) {
return injSpec().guide_rate_;
} else {
return 0.0;