Fix depth range for tracks with no data, bump version

This commit is contained in:
Magne Sjaastad
2022-11-14 19:11:11 +01:00
committed by GitHub
parent 3b67719972
commit ba8587d6ae
2 changed files with 6 additions and 1 deletions

View File

@@ -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;