Fix MSVC+CUDA issues.

(cherry picked from commit 5ed7a86ae9)
This commit is contained in:
Antonio Sánchez
2022-04-08 18:05:32 +00:00
committed by Antonio Sanchez
parent 86d958e8f2
commit af912a7b5c
8 changed files with 27 additions and 33 deletions

View File

@@ -113,7 +113,7 @@ template<typename Derived> class SparseMatrixBase
Transpose<const Derived>
>::type AdjointReturnType;
typedef Transpose<Derived> TransposeReturnType;
typedef typename internal::add_const<Transpose<const Derived> >::type ConstTransposeReturnType;
typedef Transpose<const Derived> ConstTransposeReturnType;
// FIXME storage order do not match evaluator storage order
typedef SparseMatrix<Scalar, Flags&RowMajorBit ? RowMajor : ColMajor, StorageIndex> PlainObject;