Skip to content

Commit

Permalink
Bug-fix: do not call cell() in exterior_derivative
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Jan 5, 2024
1 parent 3fc1763 commit 72ff7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def exterior_derivative(f):
except Exception:
raise ValueError(f"Unable to determine element from {f}")

gdim = element.cell().geometric_dimension()
gdim = element.cell.geometric_dimension()
space = element.sobolev_space

if space == sobolevspace.L2:
Expand Down

0 comments on commit 72ff7a0

Please sign in to comment.