mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove EIGEN_EMPTY_STRUCT_CTOR
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
5ed7a86ae9
commit
f3ba220c5d
@@ -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); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user