From b0650ad053c5fe1d6c3bec51b18d43f5153f733c Mon Sep 17 00:00:00 2001 From: Giulio Romualdi Date: Tue, 7 Nov 2023 14:37:19 +0100 Subject: [PATCH] Fix inequality operator in PlannedContact bindings (#753) --- bindings/python/Contacts/src/Contacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")