From e68314821b6f3c157bd396a8c457cd9e4628296e 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) --- ufl/argument.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ufl/argument.py b/ufl/argument.py index 3f143e0ef..4d170b136 100644 --- a/ufl/argument.py +++ b/ufl/argument.py @@ -152,6 +152,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]):