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:
Bård Skaflestad 2012-04-12 22:41:03 +02:00
parent 6a5534ae2e
commit a38efedc8d

View File

@ -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++) {