Skip to content

Commit

Permalink
Use BaseArgument.__eq__ in Argument (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
michalhabera committed Jan 27, 2023
1 parent 2babe0d commit e683148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ufl/argument.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down

0 comments on commit e683148

Please sign in to comment.