diff --git a/include/hpp/fcl/math/transform.h b/include/hpp/fcl/math/transform.h index dd6e9f4cbaeb197d17742d7bfef4adc520b712e7..0ce5889bc3fbf3af9456991edc6bdd24a72d8aaa 100644 --- a/include/hpp/fcl/math/transform.h +++ b/include/hpp/fcl/math/transform.h @@ -242,7 +242,7 @@ public: template<typename Derived> inline Quaternion3f fromAxisAngle(const Eigen::MatrixBase<Derived>& axis, FCL_REAL angle) { - return Quaternion3f (Eigen::AngleAxis<double>(angle, axis)); + return Quaternion3f (Eigen::AngleAxis<FCL_REAL>(angle, axis)); } }