mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ECL problem: write the initial solution again
this regressed after time step index of the initial solution was changed from 0 (actually, this was also 0 for the first time step...) to -1 in b30af664.
This commit is contained in:
parent
6ab54a1057
commit
9e9a8639ec
@ -312,7 +312,7 @@ public:
|
||||
*/
|
||||
bool shouldWriteOutput()
|
||||
{
|
||||
if (this->simulator().timeStepIndex() == 0)
|
||||
if (this->simulator().timeStepIndex() < 0)
|
||||
// always write the initial solution
|
||||
return true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user