Remove EIGEN_EMPTY_STRUCT_CTOR

This commit is contained in:
Tobias Schlüter
2022-04-07 09:30:51 +09:00
committed by Rasmus Munk Larsen
parent 5ed7a86ae9
commit f3ba220c5d
15 changed files with 12 additions and 150 deletions

View File

@@ -17,9 +17,8 @@ template<int OuterStride,int InnerStride,typename VectorType> void unaryview_str
VectorType vec = VectorType::Random(rows, cols);
struct view_op {
EIGEN_EMPTY_STRUCT_CTOR(view_op)
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const Scalar&
EIGEN_STRONG_INLINE const Scalar&
operator()(const Scalar& v) const { return v; }
};