[eigen] abs from vector.norm()

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hello,

I try to compile (g++ 4.7.3) some c++ code using Eigen 3.1.
The compiler complains about a line

abs(acceleration.norm() - 1) //abs from stdlib

where 'acceleration' is an Eigen vector, that abs() has some invalid parameters.
How to get it compiled?

I hope this is enough information, because I don't have to code right here.

Thanks
Dirk




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/