Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
diff --git a/test/sparse_basic.cpp b/test/sparse_basic.cpp
index 8fd759c..b069569 100644
--- a/test/sparse_basic.cpp
+++ b/test/sparse_basic.cpp
@@ -16,8 +16,8 @@
   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();