mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user