mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
Opm::computeWDP(): Match definition and prototype.
Specifically, accept the densities as a reference to const, not just a const object.
This commit is contained in:
parent
6a5534ae2e
commit
a38efedc8d
@ -406,7 +406,7 @@ namespace Opm
|
||||
|
||||
|
||||
void computeWDP(const Wells& wells, const UnstructuredGrid& grid, const std::vector<double>& saturations,
|
||||
const std::vector<double> densities, std::vector<double>& wdp)
|
||||
const std::vector<double>& densities, std::vector<double>& wdp)
|
||||
{
|
||||
// Simple for now:
|
||||
for(int i = 0; i < wells.number_of_wells; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user