mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Ensure cache is updated, not only invalidated, when Newton update fails.
This commit is contained in:
parent
dd01af1f3b
commit
aa4e0d4d58
@ -1411,7 +1411,7 @@ public:
|
||||
// previous time step so that we can start the next
|
||||
// update at a physically meaningful solution.
|
||||
solution(/*timeIdx=*/0) = solution(/*timeIdx=*/1);
|
||||
invalidateIntensiveQuantitiesCache(/*timeIdx=*/0);
|
||||
invalidateAndUpdateIntensiveQuantities(/*timeIdx=*/0);
|
||||
|
||||
#ifndef NDEBUG
|
||||
for (unsigned timeIdx = 0; timeIdx < historySize; ++timeIdx) {
|
||||
|
Loading…
Reference in New Issue
Block a user