diff --git a/src/python/se3.hpp b/src/python/se3.hpp index 10e80d29d550df75a8105d2508709fc5835fef15..0166dbea9d5264ad0e49a0eebf7429f5e4e5e99a 100644 --- a/src/python/se3.hpp +++ b/src/python/se3.hpp @@ -59,8 +59,8 @@ namespace se3 .add_property("rotation",&SE3PythonVisitor::getRotation,&SE3PythonVisitor::setRotation) .add_property("translation",&SE3PythonVisitor::getTranslation,&SE3PythonVisitor::setTranslation) - .def("homogeneous",&SE3_fx::toHomogeneousMatrix) - .def("action",&SE3_fx::toActionMatrix) + .add_property("homogeneous",&SE3_fx::toHomogeneousMatrix) + .add_property("action",&SE3_fx::toActionMatrix) .def("inverse", &SE3_fx::inverse) .def("act_point", &SE3PythonVisitor::act_point)