mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
oops, remove duplicated ctor
This commit is contained in:
parent
9d54783036
commit
f8cb9a6230
@ -446,7 +446,6 @@ struct ei_functor_traits<ei_scalar_constant_op<Scalar> >
|
|||||||
|
|
||||||
template<typename Scalar> struct ei_scalar_identity_op {
|
template<typename Scalar> struct ei_scalar_identity_op {
|
||||||
EIGEN_EMPTY_STRUCT_CTOR(ei_scalar_identity_op)
|
EIGEN_EMPTY_STRUCT_CTOR(ei_scalar_identity_op)
|
||||||
EIGEN_STRONG_INLINE ei_scalar_identity_op(void) {}
|
|
||||||
EIGEN_STRONG_INLINE const Scalar operator() (int row, int col) const { return row==col ? Scalar(1) : Scalar(0); }
|
EIGEN_STRONG_INLINE const Scalar operator() (int row, int col) const { return row==col ? Scalar(1) : Scalar(0); }
|
||||||
};
|
};
|
||||||
template<typename Scalar>
|
template<typename Scalar>
|
||||||
|
Loading…
Reference in New Issue
Block a user