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
@@ -35,7 +35,6 @@ struct functor_traits<scalar_mod_op<Scalar> >
|
||||
*/
|
||||
template <typename Scalar>
|
||||
struct scalar_mod2_op {
|
||||
EIGEN_EMPTY_STRUCT_CTOR(scalar_mod2_op)
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator() (const Scalar& a, const Scalar& b) const { return a % b; }
|
||||
};
|
||||
template <typename Scalar>
|
||||
@@ -44,7 +43,6 @@ struct functor_traits<scalar_mod2_op<Scalar> >
|
||||
|
||||
template <typename Scalar>
|
||||
struct scalar_fmod_op {
|
||||
EIGEN_EMPTY_STRUCT_CTOR(scalar_fmod_op)
|
||||
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar
|
||||
operator()(const Scalar& a, const Scalar& b) const {
|
||||
return numext::fmod(a, b);
|
||||
|
||||
Reference in New Issue
Block a user