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

@@ -5,7 +5,6 @@ using Eigen::Matrix4d;
// define a custom template binary functor
template<typename Scalar> struct MakeComplexOp {
EIGEN_EMPTY_STRUCT_CTOR(MakeComplexOp)
typedef std::complex<Scalar> result_type;
result_type operator()(const Scalar& a, const Scalar& b) const { return result_type(a,b); }
};