mirror of
https://github.com/OPM/opm-upscaling.git
synced 2025-02-25 18:45:23 -06:00
drop use of deprecated std::bind1first
This commit is contained in:
parent
e88e13c3e9
commit
5ceff8284a
@ -478,7 +478,7 @@ try
|
||||
// to avoid division by zero and to avoid special handling of negative
|
||||
// capillary pressure in the code above.
|
||||
std::transform(Pvalues.begin(), Pvalues.end(), Pvalues.begin(),
|
||||
std::bind1st(std::multiplies<double>(), surfaceTension));
|
||||
[surfaceTension](const double val) { return val*surfaceTension; });
|
||||
|
||||
/*
|
||||
* Step 9a: Verify results
|
||||
|
Loading…
Reference in New Issue
Block a user