From 8be01ffcb83652d724a7d6cd9ef5f94bc7d3af51 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Sat, 30 Mar 2013 17:37:39 +0100
Subject: [PATCH] Fix a warning

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

diff --git a/src/one-body-sample.cc b/src/one-body-sample.cc
index 28de6aa4..39602258 100644
--- a/src/one-body-sample.cc
+++ b/src/one-body-sample.cc
@@ -107,6 +107,8 @@ initTimeStepper(Config::scheme scheme, FunctionType const &dirichletFunction,
           EulerPair<VectorType, MatrixType, FunctionType, dims>>(
           stiffnessMatrix, massMatrix, u_initial, ud_initial, ignoreNodes,
           dirichletFunction);
+    default:
+      assert(false);
   }
 }
 
@@ -124,6 +126,8 @@ initStateUpdater(Config::state_model model,
       return Dune::make_shared<
           RuinaStateUpdater<SingletonVectorType, VectorType>>(
           alpha_initial, frictionalNodes, L);
+    default:
+      assert(false);
   }
 }
 
-- 
GitLab