mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix depth range for tracks with no data, bump version
This commit is contained in:
@@ -2210,6 +2210,11 @@ std::pair<double, double> RimWellLogTrack::adjustXRange( double minValue, double
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::pair<double, double> RimWellLogTrack::extendMinMaxRange( double minValue, double maxValue, double factor )
|
||||
{
|
||||
if ( minValue == std::numeric_limits<double>::infinity() || maxValue == std::numeric_limits<double>::infinity() )
|
||||
{
|
||||
return { minValue, maxValue };
|
||||
}
|
||||
|
||||
auto modifiedMin = minValue;
|
||||
auto modifiedMax = maxValue;
|
||||
|
||||
|
Reference in New Issue
Block a user