mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
(#459) Fixed bug in extraction of valid intervals for plotting
This commit is contained in:
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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user