mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed bug in riGetPropertyData only returning values for the first time step
https://github.com/OPM/ResInsight/issues/56 p4#: 22379
This commit is contained in:
@@ -315,14 +315,14 @@ public:
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (size_t cellIdx = 0; static_cast<size_t>(cellIdx) < rigGrid->cellCount(); cellIdx++)
|
for (size_t cellIdx = 0; cellIdx < rigGrid->cellCount(); cellIdx++)
|
||||||
{
|
{
|
||||||
double cellValue = cellCenterDataAccessObject->cellScalar(cellIdx);
|
double cellValue = cellCenterDataAccessObject->cellScalar(cellIdx);
|
||||||
if (cellValue == HUGE_VAL)
|
if (cellValue == HUGE_VAL)
|
||||||
{
|
{
|
||||||
cellValue = 0.0;
|
cellValue = 0.0;
|
||||||
}
|
}
|
||||||
values[cellIdx] = cellValue;
|
values[valueIdx++] = cellValue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user