Skip to content

Commit

Permalink
ConstraintBase is alrealy registered in task-com-equality.hpp
Browse files Browse the repository at this point in the history
fix:
RuntimeWarning: to-Python converter for boost::shared_ptr<tsid::math::ConstraintBase> already registered; second conversion method ignored.
  • Loading branch information
nim65s committed Mar 23, 2020
1 parent 0c876f2 commit 598516f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/tsid/bindings/python/tasks/task-am-equality.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,6 @@ namespace tsid
doc.c_str(),
bp::no_init)
.def(TaskAMEqualityPythonVisitor<TaskAM>());

bp::register_ptr_to_python< boost::shared_ptr<math::ConstraintBase> >();
}
};
}
Expand Down

0 comments on commit 598516f

Please sign in to comment.