From ca9c8486799d13ca527286894db42bb5cbba4e19 Mon Sep 17 00:00:00 2001 From: Erik Schultheis Date: Fri, 12 Nov 2021 01:14:41 +0200 Subject: [PATCH] use consistent `StorageIndex` types in `SparseMatrix::Map` and `SparseMatrix::TransposedSparseMatrix` --- Eigen/src/SparseCore/SparseMatrix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Eigen/src/SparseCore/SparseMatrix.h b/Eigen/src/SparseCore/SparseMatrix.h index 4bf47bb91..e905ff5be 100644 --- a/Eigen/src/SparseCore/SparseMatrix.h +++ b/Eigen/src/SparseCore/SparseMatrix.h @@ -110,7 +110,7 @@ class SparseMatrix using Base::operator+=; using Base::operator-=; - typedef MappedSparseMatrix Map; + typedef MappedSparseMatrix Map; typedef Diagonal DiagonalReturnType; typedef Diagonal ConstDiagonalReturnType; typedef typename Base::InnerIterator InnerIterator; @@ -126,7 +126,7 @@ class SparseMatrix typedef typename Base::IndexVector IndexVector; typedef typename Base::ScalarVector ScalarVector; protected: - typedef SparseMatrix TransposedSparseMatrix; + typedef SparseMatrix TransposedSparseMatrix; Index m_outerSize; Index m_innerSize;