mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-09-05 04:40:19 -05:00
minimal change to not called cachedIntensive
This commit is contained in:
@@ -150,7 +150,7 @@ public:
|
||||
if (idx < 0)
|
||||
return;
|
||||
|
||||
const auto* intQuantsPtr = model.cachedIntensiveQuantities(cellIdx, timeIdx);
|
||||
const auto* intQuantsPtr = &model.intensiveQuantities(cellIdx, timeIdx);
|
||||
if (intQuantsPtr == nullptr) {
|
||||
throw std::logic_error("Invalid intensive quantities cache detected in AquiferAnalytical::addToSource()");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user