mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor : Add missing include (GNU 8.3.0)
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user