(#459) Fixed bug in extraction of valid intervals for plotting

This commit is contained in:
Pål Hagen 2015-09-18 08:54:11 +02:00
parent 598575602c
commit 2ebb60e468

View File

@ -363,7 +363,7 @@ void RimWellLogExtractionCurve::validCurvePointIntervals(const std::vector<doubl
}
}
if (validDepthStartIdx > 0 && validDepthStartIdx < valuesCount)
if (validDepthStartIdx >= 0 && validDepthStartIdx < valuesCount)
{
validDepthIntervals.push_back(std::make_pair(validDepthStartIdx, valuesCount - 1));
}