mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crash when loading formation names.
This commit is contained in:
@@ -1353,7 +1353,10 @@ void RimWellLogTrack::findFormationNamesToPlot(const CurveSamplingPointData&
|
||||
|
||||
for (double nameIdx : curveData.data)
|
||||
{
|
||||
formationNameIndicesFromCurve.push_back(round(nameIdx));
|
||||
if (nameIdx != HUGE_VAL)
|
||||
{
|
||||
formationNameIndicesFromCurve.push_back(round(nameIdx));
|
||||
}
|
||||
}
|
||||
|
||||
if (formationNameIndicesFromCurve.empty()) return;
|
||||
|
||||
Reference in New Issue
Block a user