From 30cb18c2f488d27e1b63aabcd871b3c39b1943a4 Mon Sep 17 00:00:00 2001
From: Tobias Leibner <tobias.leibner@googlemail.com>
Date: Thu, 30 Apr 2015 09:49:10 +0200
Subject: [PATCH] [functions.expression] remove assertions

---
 dune/stuff/functions/expression.hh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dune/stuff/functions/expression.hh b/dune/stuff/functions/expression.hh
index 3a007c28a..bc8eff923 100644
--- a/dune/stuff/functions/expression.hh
+++ b/dune/stuff/functions/expression.hh
@@ -216,8 +216,6 @@ public:
       typedef typename Dune::FieldMatrix<std::string, dimRange, dimDomain> JacobianMatrixType;
       const JacobianMatrixType gradient_as_matrix = cfg.get<JacobianMatrixType>("gradient");
       // convert FieldMatrix to std::vector< std::vector < std::string > >
-      assert(gradient_as_matrix.rows >= dimRange);
-      assert(gradient_as_matrix.cols >= dimDomain);
       for (size_t rr = 0; rr < dimRange; ++rr) {
         std::vector<std::string> gradient_expression;
         for (size_t cc = 0; cc < dimDomain; ++cc)
-- 
GitLab