From fc202bab398ed9b78ef8452f8e4ef35e233965f6 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 13 Feb 2015 18:57:41 +0100 Subject: Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type. --- test/sparse_basic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/sparse_basic.cpp') 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 void sparse_basic(const SparseMatrixType& re typedef typename SparseMatrixType::StorageIndex StorageIndex; typedef Matrix 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(); -- cgit v1.2.3