Skip to content

Commit 598516f

Browse files
committed
ConstraintBase is alrealy registered in task-com-equality.hpp
fix: RuntimeWarning: to-Python converter for boost::shared_ptr<tsid::math::ConstraintBase> already registered; second conversion method ignored.
1 parent 0c876f2 commit 598516f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/tsid/bindings/python/tasks/task-am-equality.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ namespace tsid
116116
doc.c_str(),
117117
bp::no_init)
118118
.def(TaskAMEqualityPythonVisitor<TaskAM>());
119-
120-
bp::register_ptr_to_python< boost::shared_ptr<math::ConstraintBase> >();
121119
}
122120
};
123121
}

0 commit comments

Comments
 (0)