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:
parent
f8f51bbe92
commit
f928ef87e8
@ -315,14 +315,14 @@ public:
|
||||
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);
|
||||
if (cellValue == HUGE_VAL)
|
||||
{
|
||||
cellValue = 0.0;
|
||||
}
|
||||
values[cellIdx] = cellValue;
|
||||
values[valueIdx++] = cellValue;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user