Skip to content

Commit 7b1e741

Browse files
committed
k
1 parent 40f25a5 commit 7b1e741

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tsfc/driver.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import gem.impero_utils as impero_utils
1717

1818
import finat
19+
from finat.element_factory import as_fiat_cell
1920

2021
from tsfc import fem, ufl_utils
2122
from tsfc.logging import logger
@@ -281,7 +282,7 @@ def compile_expression_dual_evaluation(expression, to_element, ufl_element, *,
281282
# Set up kernel config for translation of UFL expression to gem
282283
kernel_cfg = dict(interface=builder,
283284
ufl_cell=domain.ufl_cell(),
284-
integration_dim=domain.topological_dimension(),
285+
integration_dim=as_fiat_cell(domain.ufl_cell()).get_dimension(),
285286
# FIXME: change if we ever implement
286287
# interpolation on facets.
287288
argument_multiindices=argument_multiindices,

0 commit comments

Comments
 (0)