mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#459) Fixed bug in extraction of valid intervals for plotting
This commit is contained in:
parent
598575602c
commit
2ebb60e468
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user