From c7a5403f4d5db0b3e2c4af7161b05e3dc301ed25 Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Mon, 21 Oct 2019 14:10:08 +0200 Subject: [PATCH] quaternion: fix exposure of toRotationMatrix --- include/eigenpy/quaternion.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp index 2017d4ea..d8d429fc 100644 --- a/include/eigenpy/quaternion.hpp +++ b/include/eigenpy/quaternion.hpp @@ -103,7 +103,7 @@ namespace eigenpy .def("coeffs",(const Vector4 & (Quaternion::*)()const)&Quaternion::coeffs, bp::return_value_policy<bp::copy_const_reference>()) .def("matrix",&Quaternion::matrix,"Returns an equivalent rotation matrix") - .def("toRotationMatrix ",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.") + .def("toRotationMatrix",&Quaternion::toRotationMatrix,"Returns an equivalent 3x3 rotation matrix.") .def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("a"),bp::arg("b"))),"Set *this to be the quaternion which transform a into b through a rotation." ,bp::return_self<>()) -- GitLab