From 069cc9532e156c9570e085b7d1a31904666e69be Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Thu, 16 Aug 2012 10:04:23 +0200
Subject: [PATCH] Cleanup

---
 src/one-body-sample.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc
index d04c8cc4..9e779523 100644
--- a/src/one-body-sample.cc
+++ b/src/one-body-sample.cc
@@ -191,13 +191,11 @@ int main(int argc, char *argv[]) {
     // {{{ Initialise vectors
     VectorType u(finestSize);
     u = 0.0; // Has to be zero!
-
-    SingletonVectorType alpha_old(finestSize);
-    alpha_old = parset.get<double>("boundary.friction.state.initial");
-
     VectorType u_diff(finestSize);
     u_diff = 0.0; // Has to be zero!
 
+    SingletonVectorType alpha_old(finestSize);
+    alpha_old = parset.get<double>("boundary.friction.state.initial");
     SingletonVectorType alpha(alpha_old);
 
     SingletonVectorType vonMisesStress;
-- 
GitLab