From a2edcc36fa5bf45242e122d53ebf00b5f865e0dc Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Fri, 1 Apr 2022 20:21:46 +0200
Subject: [PATCH] geom: tiny fixes

---
 include/eigenpy/angle-axis.hpp | 6 +++---
 include/eigenpy/quaternion.hpp | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/eigenpy/angle-axis.hpp b/include/eigenpy/angle-axis.hpp
index d5ad5aa..f7293e6 100644
--- a/include/eigenpy/angle-axis.hpp
+++ b/include/eigenpy/angle-axis.hpp
@@ -59,7 +59,7 @@ namespace eigenpy
            ((bp::arg("self"),bp::arg("angle"),bp::arg("axis")),
             "Initialize from angle and axis."))
       .def(bp::init<Matrix3>
-           ((bp::arg("self"),bp::arg("rotation matrix")),
+           ((bp::arg("self"),bp::arg("R")),
             "Initialize from a rotation matrix"))
       .def(bp::init<Quaternion>((bp::arg("self"),bp::arg("quaternion")),
                                 "Initialize from a quaternion."))
@@ -84,9 +84,9 @@ namespace eigenpy
            "Sets *this from a 3x3 rotation matrix",
            bp::return_self<>())
       .def("toRotationMatrix",
-//           bp::arg("self"),
            &AngleAxis::toRotationMatrix,
-           "Constructs and returns an equivalent 3x3 rotation matrix.")
+//           bp::arg("self"),
+           "Constructs and returns an equivalent rotation matrix.")
       .def("matrix",&AngleAxis::matrix,
            bp::arg("self"),
            "Returns an equivalent rotation matrix.")
diff --git a/include/eigenpy/quaternion.hpp b/include/eigenpy/quaternion.hpp
index 1087180..c532433 100644
--- a/include/eigenpy/quaternion.hpp
+++ b/include/eigenpy/quaternion.hpp
@@ -171,7 +171,7 @@ namespace eigenpy
            "Returns an equivalent 3x3 rotation matrix. Similar to toRotationMatrix.")
       .def("toRotationMatrix",&Quaternion::toRotationMatrix,
 //           bp::arg("self"), // Bug in Boost.Python
-           "Returns an equivalent 3x3 rotation matrix.")
+           "Returns an equivalent rotation matrix.")
       
       .def("setFromTwoVectors",&setFromTwoVectors,((bp::arg("self"),bp::arg("a"),bp::arg("b"))),
            "Set *this to be the quaternion which transforms a into b through a rotation."
-- 
GitLab