Skip to content

Commit

Permalink
Prevent forming cache key with unused kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrubeck committed Dec 20, 2024
1 parent 6742374 commit 6fdaf9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firedrake/assemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ class OneFormAssembler(ParloopFormAssembler):

@classmethod
def _cache_key(cls, form, bcs=None, form_compiler_parameters=None, needs_zeroing=True,
zero_bc_nodes=True, diagonal=False, weight=1.0):
zero_bc_nodes=True, diagonal=False, weight=1.0, **kwargs):
bcs = solving._extract_bcs(bcs)
return tuple(bcs), tuplify(form_compiler_parameters), needs_zeroing, zero_bc_nodes, diagonal, weight

Expand Down

0 comments on commit 6fdaf9d

Please sign in to comment.