diff --git a/PyIlmBase/PyImath/PyImathVec3Impl.h b/PyIlmBase/PyImath/PyImathVec3Impl.h index be198a0e92..fc02c40e32 100644 --- a/PyIlmBase/PyImath/PyImathVec3Impl.h +++ b/PyIlmBase/PyImath/PyImathVec3Impl.h @@ -994,8 +994,8 @@ register_Vec3() .def("__itruediv__", &Vec3_idivObj,return_internal_reference<>()) .def("__xor__", &Vec3_dot) .def("__mod__", &Vec3_cross) - .def(self == self) - .def(self != self) + .def(self == self) // NOSONAR - suppress SonarCloud bug report. + .def(self != self) // NOSONAR - suppress SonarCloud bug report. .def("__add__", &Vec3_add) .def("__add__", &Vec3_addV) .def("__add__", &Vec3_addV) diff --git a/PyIlmBase/PyImath/PyImathVec4Impl.h b/PyIlmBase/PyImath/PyImathVec4Impl.h index e2a7900c98..54bc9b64ae 100644 --- a/PyIlmBase/PyImath/PyImathVec4Impl.h +++ b/PyIlmBase/PyImath/PyImathVec4Impl.h @@ -973,8 +973,8 @@ register_Vec4() .def("__idiv__", &Vec4_idivObj,return_internal_reference<>()) .def("__itruediv__", &Vec4_idivObj,return_internal_reference<>()) .def("__xor__", &Vec4_dot) - .def(self == self) - .def(self != self) + .def(self == self) // NOSONAR - suppress SonarCloud bug report. + .def(self != self) // NOSONAR - suppress SonarCloud bug report. .def("__add__", &Vec4_add) .def("__add__", &Vec4_addV) .def("__add__", &Vec4_addV)