diff --git a/bindings/python/Contacts/src/Contacts.cpp b/bindings/python/Contacts/src/Contacts.cpp index 8c0a15639e..be3a651121 100644 --- a/bindings/python/Contacts/src/Contacts.cpp +++ b/bindings/python/Contacts/src/Contacts.cpp @@ -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_(module, "EstimatedContact")