Janitor : Add missing include (GNU 8.3.0)

This commit is contained in:
Magne Sjaastad
2021-02-22 14:02:57 +01:00
parent cf7887ad8e
commit 65e6c5005a

View File

@@ -22,6 +22,8 @@
#include "RimWellPath.h" #include "RimWellPath.h"
#include "RimWellPathCollection.h" #include "RimWellPathCollection.h"
#include <limits>
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
@@ -100,7 +102,7 @@ std::vector<RimWellMeasurement*>
bool RimWellMeasurementFilter::isInsideRange( double value, double lowerBound, double upperBound ) bool RimWellMeasurementFilter::isInsideRange( double value, double lowerBound, double upperBound )
{ {
// Invalid range: everything is inside // Invalid range: everything is inside
if ( lowerBound == cvf::UNDEFINED_DOUBLE || cvf::UNDEFINED_DOUBLE == upperBound ) if ( lowerBound == std::numeric_limits<double>::infinity() || std::numeric_limits<double>::infinity() == upperBound )
{ {
return true; return true;
} }