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:
Andreas Lauser committed 2014-08-04 17:16:48 +02:00
1 parent 6ab54a1057
commit 9e9a8639ec
1 file changed
+1 -1
+1 -1
View File
@@ -312,7 +312,7 @@ public:
*/
bool shouldWriteOutput()
{
if (this->simulator().timeStepIndex() == 0)
if (this->simulator().timeStepIndex() < 0)
// always write the initial solution
return true;