Skip to content

Commit

Permalink
Fix inequality operator in PlannedContact bindings (#753)
Browse files Browse the repository at this point in the history
  • Loading branch information
GiulioRomualdi authored Nov 7, 2023
1 parent 1aa527e commit b0650ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/Contacts/src/Contacts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ void CreateContact(pybind11::module& module)
.def_readwrite("deactivation_time", &PlannedContact::deactivationTime)
.def("__repr__", &toString)
.def("__eq__", &PlannedContact::operator==, py::is_operator())
.def("__neq__", &PlannedContact::operator!=, py::is_operator())
.def("__ne__", &PlannedContact::operator!=, py::is_operator())
.def("is_contact_active", &PlannedContact::isContactActive);

py::class_<EstimatedContact, ContactBase>(module, "EstimatedContact")
Expand Down

0 comments on commit b0650ad

Please sign in to comment.