Skip to content
Snippets Groups Projects
Commit b75bc87e authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Obtain block_size from VectorType

parent 6fde9d9f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment