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

This commit is contained in:
Pål Hagen committed 2015-09-18 08:54:11 +02:00
1 parent 598575602c
commit 2ebb60e468
1 file changed
+1 -1
@@ -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));
}