Skip to content

Commit

Permalink
Handle form coefficients as an optional kwarg when calling a form
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Oct 10, 2022
1 parent cc14fdc commit ff36d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/form.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def __call__(self, *args, **kwargs):
len(args)))
repdict.update(zip(arguments, args))

coefficients = kwargs.pop("coefficients")
coefficients = kwargs.pop("coefficients", None)
if kwargs:
error("Unknown kwargs %s." % str(list(kwargs)))

Expand Down

0 comments on commit ff36d01

Please sign in to comment.