From c52472e4f346c4b2918c4f3ce5f9450e572d0024 Mon Sep 17 00:00:00 2001 From: Michal Habera Date: Fri, 27 Jan 2023 09:26:11 +0100 Subject: [PATCH] Use BaseArgument.__eq__ in Argument (#147) (cherry picked from commit e68314821b6f3c157bd396a8c457cd9e4628296e) --- ufl/argument.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ufl/argument.py b/ufl/argument.py index 4c53c00d8..a119bf9bc 100644 --- a/ufl/argument.py +++ b/ufl/argument.py @@ -154,6 +154,7 @@ class Argument(FormArgument, BaseArgument): __getnewargs__ = BaseArgument.__getnewargs__ __str__ = BaseArgument.__str__ _ufl_signature_data_ = BaseArgument._ufl_signature_data_ + __eq__ = BaseArgument.__eq__ def __new__(cls, *args, **kw): if args[0] and is_dual(args[0]):