From 3f3a0cafb866b183e880691d095d7187c791fd3f Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Sat, 7 Dec 2019 13:15:36 +0100 Subject: [PATCH] math: do not use double --- include/hpp/fcl/math/transform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hpp/fcl/math/transform.h b/include/hpp/fcl/math/transform.h index dd6e9f4c..0ce5889b 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)); } } -- GitLab