RE: [eigen] no matching function for call to 'abs(const float&)' |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Well that's what I've been doing the since yesterday and that's why I'm asking for your help.
Thanks! Best, --- +351 912 090 991 Azambuja | Portugal As the creation appears, the path is driven in the conscious feeling of madness and happiness, which returns, in multiple ways, to what we achieve in greatness... Follow me in: This message and any files herewith attached may contain confidential or privileged information and is intended solely for the use of the entity to which it is addressed. If you receive this message in error, please notify the sender immediately and delete this message and any files attached without copying them in any way. > Date: Thu, 27 Aug 2015 15:26:54 +0200 > From: marc.glisse@xxxxxxxx > To: eigen@xxxxxxxxxxxxxxxxxxx > Subject: RE: [eigen] no matching function for call to 'abs(const float&)' > > On Thu, 27 Aug 2015, Nuno Marques wrote: > > > OK, replacing line 44 of Eigen/src/Core/functors/UnaryFunctors.h with: > > EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type operator() (const Scalar& a) const { using std::fabs; return fabs(a); } > > To the dev team: is this to be considered as a fix and maybe pushed to the main repo? > > No, that would break some other types. Please try to investigate why it > isn't working with 'abs' for you. > > -- > Marc Glisse > > |
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |