Skip to content

Commit

Permalink
tsfc/fem: fix basis_evaluation cache
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed Dec 22, 2024
1 parent df05d92 commit 4174e56
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsfc/fem.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,8 @@ def make_basis_evaluation_key(ctx, finat_element, mt, entity_id):
ufl_element = mt.terminal.ufl_element()
domain = extract_unique_domain(mt.terminal)
coordinate_element = domain.ufl_coordinate_element()
return (ufl_element, mt.local_derivatives, ctx.point_set, ctx.integration_dim, entity_id, coordinate_element, mt.restriction)
# CoordinateMapping depends on mt.terminal.
return (ufl_element, mt.local_derivatives, ctx.point_set, ctx.integration_dim, entity_id, coordinate_element, mt.restriction, mt.terminal)


class PointSetContext(ContextBase):
Expand Down

0 comments on commit 4174e56

Please sign in to comment.