Skip to content

Commit

Permalink
another one
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Nov 23, 2023
1 parent 0499992 commit 068f6c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ufl/algorithms/change_to_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from ufl.core.multiindex import indices
from ufl.corealg.map_dag import map_expr_dag
from ufl.corealg.multifunction import MultiFunction
from ufl.domain import extract_unique_domain
from ufl.tensors import as_tensor

"""
Expand Down Expand Up @@ -139,7 +140,7 @@ def grad(self, o):
f = ReferenceValue(f)

# Get domain and create Jacobian inverse object
domain = o.ufl_domain()
domain = extract_unique_domain(o)
Jinv = JacobianInverse(domain)

if is_cellwise_constant(Jinv):
Expand Down

0 comments on commit 068f6c3

Please sign in to comment.