diff --git a/dune/tectonic/myconvexproblem.hh b/dune/tectonic/myconvexproblem.hh index 9b61b489d45d3901bdf6bb7a0cee6c87b8e8f3eb..a42df6e1c9149be40062e8f1b807de8b84b42267 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