From e79f65a21775cca3da8080d66f89ea45d4f36435 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Sun, 9 Jul 2023 19:53:37 +0200
Subject: [PATCH] [PL] Reset solution for rejected time step ts = 0

The reset must also happen for the first time step which
might have failed in the second iteration.

Reason for the original statement is not clear.
---
 ProcessLib/TimeLoop.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/ProcessLib/TimeLoop.cpp b/ProcessLib/TimeLoop.cpp
index 53d18c1cca8..c293b926202 100644
--- a/ProcessLib/TimeLoop.cpp
+++ b/ProcessLib/TimeLoop.cpp
@@ -451,11 +451,6 @@ std::pair<double, bool> TimeLoop::computeTimeStepping(
                                                      ppd.timestep_current);
         }
 
-        if (t == timestep_algorithm->begin())
-        {
-            continue;
-        }
-
         auto& x = *_process_solutions[i];
         auto& x_prev = *_process_solutions_prev[i];
         if (all_process_steps_accepted)
-- 
GitLab