From b75bc87e8a20ca5ef829062659a10751cf3c70bc Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Thu, 3 Nov 2011 01:35:02 +0100
Subject: [PATCH] Obtain block_size from VectorType

---
 dune/tectonic/myconvexproblem.hh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dune/tectonic/myconvexproblem.hh b/dune/tectonic/myconvexproblem.hh
index 9b61b489..a42df6e1 100644
--- a/dune/tectonic/myconvexproblem.hh
+++ b/dune/tectonic/myconvexproblem.hh
@@ -22,7 +22,7 @@ class MyConvexProblem {
   typedef typename VectorType::block_type LocalVectorType;
   typedef typename MatrixType::block_type LocalMatrixType;
 
-  static const int block_size = NonlinearityType::block_size;
+  static const int block_size = VectorType::block_type::dimension;
 
   /** \brief Constructor with the problem components
 
-- 
GitLab