From 840e63e36d828667379c85bb65a7a7196a0db40c Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sun, 31 Aug 2014 18:39:25 +0200
Subject: [PATCH] [Cleanup] Initialise postProcessCalled as true

---
 src/timestepping/backward_euler.hh | 2 +-
 src/timestepping/newmark.hh        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/timestepping/backward_euler.hh b/src/timestepping/backward_euler.hh
index e6c0101d..1e175476 100644
--- a/src/timestepping/backward_euler.hh
+++ b/src/timestepping/backward_euler.hh
@@ -35,6 +35,6 @@ class BackwardEuler : public TimeSteppingScheme<Vector, Matrix, Function, dim> {
 
   double tau;
 
-  bool postProcessCalled = false;
+  bool postProcessCalled = true;
 };
 #endif
diff --git a/src/timestepping/newmark.hh b/src/timestepping/newmark.hh
index 89b257c0..2ed4a1b4 100644
--- a/src/timestepping/newmark.hh
+++ b/src/timestepping/newmark.hh
@@ -38,6 +38,6 @@ class Newmark : public TimeSteppingScheme<Vector, Matrix, Function, dim> {
 
   double tau;
 
-  bool postProcessCalled = false;
+  bool postProcessCalled = true;
 };
 #endif
-- 
GitLab