Remove EIGEN_DEVICE_FUNC from CwiseBinaryOp's default copy constructor.

(cherry picked from commit 91cd67f057f90101cf858d63916ee56a58511b0d)
This commit is contained in:
Cyril Kaiser 2021-05-22 18:15:32 +01:00 committed by Rasmus Munk Larsen
parent 98cf1e076f
commit 573570b6c9

View File

@ -102,7 +102,7 @@ class CwiseBinaryOp :
#if EIGEN_COMP_MSVC && EIGEN_HAS_CXX11
//Required for Visual Studio or the Copy constructor will probably not get inlined!
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE
EIGEN_STRONG_INLINE
CwiseBinaryOp(const CwiseBinaryOp<BinaryOp,LhsType,RhsType>&) = default;
#endif