diff --git a/tsfc/fem.py b/tsfc/fem.py index 8d5e6bbcab..70a674cdca 100644 --- a/tsfc/fem.py +++ b/tsfc/fem.py @@ -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):