Verified Commit a2922812 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

python/joints: fix method

parent 7830318f
Pipeline #14250 passed with stage
in 130 minutes and 41 seconds
......@@ -37,7 +37,7 @@ namespace pinocchio
&JointModelDerived::setIndexes,
bp::args("self","id","idx_q","idx_v"))
.def("hasSameIndexes",
&JointModelDerived::hasSameIndexes,
&JointModelDerived::template hasSameIndexes<JointModelDerived>,
bp::args("self","other"),
"Check if this has same indexes than other.")
.def("shortname",&JointModelDerived::shortname,bp::arg("self"))
......
......@@ -35,7 +35,7 @@ namespace pinocchio
&JointModel::setIndexes,
bp::args("self","id","idx_q","idx_v"))
.def("hasSameIndexes",
&JointModel::hasSameIndexes,
&JointModel::hasSameIndexes<JointModel>,
bp::args("self","other"),
"Check if this has same indexes than other.")
.def("shortname",&JointModel::shortname,bp::arg("self"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment