Skip to content
Snippets Groups Projects
Verified Commit ca86a5d4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

eigen: add symlink in the current scope of Quaternion and Angle Axis classes

parent 79f84d3f
No related branches found
No related tags found
No related merge requests found
...@@ -103,8 +103,8 @@ namespace eigenpy ...@@ -103,8 +103,8 @@ namespace eigenpy
static void expose() static void expose()
{ {
if(check_registration<AngleAxis>()) return; if(register_symbolic_link_to_registered_type<AngleAxis>()) return;
bp::class_<AngleAxis>("AngleAxis", bp::class_<AngleAxis>("AngleAxis",
"AngleAxis representation of rotations.\n\n", "AngleAxis representation of rotations.\n\n",
bp::no_init) bp::no_init)
......
...@@ -203,8 +203,8 @@ namespace eigenpy ...@@ -203,8 +203,8 @@ namespace eigenpy
static void expose() static void expose()
{ {
if(check_registration<Quaternion>()) return; if(register_symbolic_link_to_registered_type<Quaternion>()) return;
bp::class_<Quaternion>("Quaternion", bp::class_<Quaternion>("Quaternion",
"Quaternion representing rotation.\n\n" "Quaternion representing rotation.\n\n"
"Supported operations " "Supported operations "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment