Fix MSVC+CUDA issues.

This commit is contained in:
Antonio Sánchez
2022-04-08 18:05:32 +00:00
parent 734ed1efa6
commit 5ed7a86ae9
8 changed files with 26 additions and 32 deletions

View File

@@ -313,9 +313,9 @@ template<typename Derived> class DenseBase
typedef Transpose<Derived> TransposeReturnType;
EIGEN_DEVICE_FUNC
TransposeReturnType transpose();
typedef const Transpose<const Derived> ConstTransposeReturnType;
typedef Transpose<const Derived> ConstTransposeReturnType;
EIGEN_DEVICE_FUNC
ConstTransposeReturnType transpose() const;
const ConstTransposeReturnType transpose() const;
EIGEN_DEVICE_FUNC
void transposeInPlace();