From eb34a032e84546a3d72541837c8cef6aaf6da134 Mon Sep 17 00:00:00 2001
From: Max Kahnt <max.kahnt@fu-berlin.de>
Date: Mon, 15 Dec 2014 15:43:24 +0100
Subject: [PATCH] Add rows, cols enum to SingleNonZeroColumnMatrix.

---
 dune/matrix-vector/singlenonzerocolumnmatrix.hh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dune/matrix-vector/singlenonzerocolumnmatrix.hh b/dune/matrix-vector/singlenonzerocolumnmatrix.hh
index e6d1432..a2c1c15 100644
--- a/dune/matrix-vector/singlenonzerocolumnmatrix.hh
+++ b/dune/matrix-vector/singlenonzerocolumnmatrix.hh
@@ -46,6 +46,8 @@ class SingleNonZeroColumnMatrix
     };
 
 public:
+    enum { rows = ROWS, cols = COLS};
+
     typedef RowProxy row_type;
     typedef row_type const_row_reference;
     typedef typename std::size_t size_type;
-- 
GitLab