Skip to content

Commit ca86a5d

Browse files
committed
eigen: add symlink in the current scope of Quaternion and Angle Axis classes
1 parent 79f84d3 commit ca86a5d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/eigenpy/angle-axis.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ namespace eigenpy
103103

104104
static void expose()
105105
{
106-
if(check_registration<AngleAxis>()) return;
107-
106+
if(register_symbolic_link_to_registered_type<AngleAxis>()) return;
107+
108108
bp::class_<AngleAxis>("AngleAxis",
109109
"AngleAxis representation of rotations.\n\n",
110110
bp::no_init)

include/eigenpy/quaternion.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ namespace eigenpy
203203

204204
static void expose()
205205
{
206-
if(check_registration<Quaternion>()) return;
207-
206+
if(register_symbolic_link_to_registered_type<Quaternion>()) return;
207+
208208
bp::class_<Quaternion>("Quaternion",
209209
"Quaternion representing rotation.\n\n"
210210
"Supported operations "

0 commit comments

Comments
 (0)