mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
std::fabs fix for Linux
This commit is contained in:
parent
eb498ad0dc
commit
4c5e277ebf
@ -45,7 +45,7 @@ int EnsembleParameter::logarithmicVariationIndex() const
|
||||
{
|
||||
const double eps = 1.0e-4;
|
||||
|
||||
double maxAbs = std::max(std::abs(maxValue), std::abs(minValue));
|
||||
double maxAbs = std::max(std::fabs(maxValue), std::fabs(minValue));
|
||||
if (maxAbs < eps)
|
||||
{
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user