Commit 67274ad7 authored by Wolfgang Merkt's avatar Wolfgang Merkt
Browse files

[bindings/python/multibody/model] Cast return type to long unsigned int/size_t

FrameIndex = Index = size_t
parent b93aaf89
...@@ -243,7 +243,7 @@ namespace pinocchio ...@@ -243,7 +243,7 @@ namespace pinocchio
.def("existFrame",&Model::existFrame,existFrame_overload(bp::args("name","type"),"Returns true if the frame given by its name exists inside the Model with the given type.")) .def("existFrame",&Model::existFrame,existFrame_overload(bp::args("name","type"),"Returns true if the frame given by its name exists inside the Model with the given type."))
.def("addFrame",(int (Model::*)(const Frame &)) &Model::addFrame,bp::args("frame"),"Add a frame to the vector of frames.") .def("addFrame",(std::size_t (Model::*)(const Frame &)) &Model::addFrame,bp::args("frame"),"Add a frame to the vector of frames.")
.def("createData", .def("createData",
&ModelPythonVisitor::createData, &ModelPythonVisitor::createData,
......
Supports Markdown
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