diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-02-13 18:57:41 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-02-13 18:57:41 +0100 |
commit | fc202bab398ed9b78ef8452f8e4ef35e233965f6 (patch) | |
tree | f0f427ee115aa8579b0d43a49c2ad762b1b0f57c /test/sparse_basic.cpp | |
parent | fe513199808654bfa5080fe16bda7dcdafbd57c6 (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.cpp | 4 |
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(); |