Skip to content

Commit

Permalink
Hash ufl_coordinate_element
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Dec 12, 2024
1 parent 8db60cb commit 9de4443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsfc/fem.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,8 @@ def weight_expr(self):

def make_basis_evaluation_key(self, finat_element, mt, entity_id):
domain = extract_unique_domain(mt.terminal)
restriction = mt.restriction
return (self, finat_element, mt.local_derivatives, domain, restriction, entity_id)
coordinate_element = domain.ufl_coordinate_element()
return (self, finat_element, mt.local_derivatives, coordinate_element, mt.restriction, entity_id)

@serial_cache(hashkey=make_basis_evaluation_key)
def basis_evaluation(self, finat_element, mt, entity_id):
Expand Down

0 comments on commit 9de4443

Please sign in to comment.