mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-20 21:43:20 -06:00
Janitor : Add missing include (GNU 8.3.0)
This commit is contained in:
parent
cf7887ad8e
commit
65e6c5005a
@ -22,6 +22,8 @@
|
||||
#include "RimWellPath.h"
|
||||
#include "RimWellPathCollection.h"
|
||||
|
||||
#include <limits>
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@ -100,7 +102,7 @@ std::vector<RimWellMeasurement*>
|
||||
bool RimWellMeasurementFilter::isInsideRange( double value, double lowerBound, double upperBound )
|
||||
{
|
||||
// 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user