Remove EIGEN_DEVICE_FUNC from CwiseBinaryOp's default copy constructor.

This commit is contained in:
Cyril Kaiser 2021-05-22 18:15:32 +01:00 committed by Rasmus Munk Larsen
parent dba753a986
commit 91cd67f057

View File

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