Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbouziani committed Sep 12, 2023
1 parent 8831049 commit 7467299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ufl/algorithms/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def extract_type(a, ufl_types):
base_form_objects = ()
for o in base_form_ops:
# This accounts for having BaseFormOperator in Forms: if N is a BaseFormOperator
# N(u; v*) * v * dx <=> action(v1 * v * dx, N(...; v*))
# where v, v1 are `Argument`s and v* a `Coargument`.
# `N(u; v*) * v * dx` <=> `action(v1 * v * dx, N(...; v*))`
# where `v`, `v1` are `Argument`s and `v*` a `Coargument`.
for ai in tuple(arg for arg in o.argument_slots(isinstance(a, Form))):
# Extracting BaseArguments of an object of which a Coargument is an argument,
# then we just return the dual argument of the Coargument and not its primal argument.
Expand Down

0 comments on commit 7467299

Please sign in to comment.