From 28422706ec3255872adac35d4201d46dedb48c15 Mon Sep 17 00:00:00 2001 From: nbouziani Date: Wed, 13 Sep 2023 09:26:00 +0100 Subject: [PATCH] Fix comment --- ufl/algorithms/apply_derivatives.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ufl/algorithms/apply_derivatives.py b/ufl/algorithms/apply_derivatives.py index d0e1e0fdb..644453b81 100644 --- a/ufl/algorithms/apply_derivatives.py +++ b/ufl/algorithms/apply_derivatives.py @@ -818,6 +818,7 @@ def facet_avg(self, o, fp): def coefficient(self, o): # Define dw/dw := d/ds [w + s v] = v + # Return corresponding argument if we can find o among w do = self._w2v.get(o) if do is not None: @@ -1146,7 +1147,7 @@ def __init__(self): self.rcaches = defaultdict(dict) # Record the operations delayed to the derivative expansion phase: - # Example: dN(u)/du where `N` is an ExternalOperator and `u` a Coefficient + # Example: dN(u)/du where `N` is a BaseFormOperator and `u` a Coefficient self.pending_operations = () def terminal(self, o):