mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1201 from atgeirr/fix-warning
Fix minor warning (returning a const double).
This commit is contained in:
commit
9a32e2baca
@ -221,7 +221,7 @@ namespace Opm
|
||||
const std::vector<double>& perfRateSolvent() const { return perfRateSolvent_; }
|
||||
|
||||
/// One rate pr well
|
||||
const double solventWellRate(const int w) const {
|
||||
double solventWellRate(const int w) const {
|
||||
double solvent_well_rate = 0.0;
|
||||
for (int perf = wells_->well_connpos[w]; perf < wells_->well_connpos[w+1]; ++perf ) {
|
||||
solvent_well_rate += perfRateSolvent_[perf];
|
||||
|
Loading…
Reference in New Issue
Block a user