mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
bug #877, bug #572: Introduce a global Index typedef. Rename Sparse*::Index to StorageIndex, make Dense*::StorageIndex an alias to DenseIndex. Overall this commit gets rid of all Index conversion warnings.
This commit is contained in:
@@ -35,8 +35,8 @@ bool equalsIdentity(const MatrixType& A)
|
||||
template<typename VectorType>
|
||||
void testVectorType(const VectorType& base)
|
||||
{
|
||||
typedef typename internal::traits<VectorType>::Index Index;
|
||||
typedef typename internal::traits<VectorType>::Scalar Scalar;
|
||||
typedef typename VectorType::Index Index;
|
||||
typedef typename VectorType::Scalar Scalar;
|
||||
|
||||
const Index size = base.size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user