aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/sparse_basic.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-02-13 18:57:41 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-02-13 18:57:41 +0100
commitfc202bab398ed9b78ef8452f8e4ef35e233965f6 (patch)
treef0f427ee115aa8579b0d43a49c2ad762b1b0f57c /test/sparse_basic.cpp
parentfe513199808654bfa5080fe16bda7dcdafbd57c6 (diff)
Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
Diffstat (limited to 'test/sparse_basic.cpp')
-rw-r--r--test/sparse_basic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp
index 8fd759c93..b06956974 100644
--- a/test/sparse_basic.cpp
+++ b/test/sparse_basic.cpp
@@ -16,8 +16,8 @@ template<typename SparseMatrixType> void sparse_basic(const SparseMatrixType& re
typedef typename SparseMatrixType::StorageIndex StorageIndex;
typedef Matrix<StorageIndex,2,1> Vector2;
- const StorageIndex rows = ref.rows();
- const StorageIndex cols = ref.cols();
+ const Index rows = ref.rows();
+ const Index cols = ref.cols();
const Index inner = ref.innerSize();
const Index outer = ref.outerSize();