RE: [eigen] no matching function for call to 'abs(const float&)' |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
The code you shared will compile ok with g++ -std=c++98 -pedantic -Wall mathabs.cpp but not with gcc-arm-none-eabi.
Thanks anyway. 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. From: tbs1980@xxxxxxxxxx Subject: Re: [eigen] no matching function for call to 'abs(const float&)' Date: Thu, 27 Aug 2015 15:04:20 +0100 To: eigen@xxxxxxxxxxxxxxxxxxx Hi Numo, You could try to see if abs() really supports floating point arguments in your system. For example if this small code compiles fine then you shouldn’t have any issues compiling the Eigen code. The other option may be is to define a custom version of abs() in the namespace std. Best, Sree Sreekumar Thaithara Balan Research Associate in Cosmology University College London Email:sbalan@star.ucl.ac.uk Phone:+44 (0)20 7679 4349
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |