Skip to content

Commit

Permalink
correct function name
Browse files Browse the repository at this point in the history
  • Loading branch information
mscroggs committed Apr 22, 2024
1 parent 51288bb commit e9efc6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ufl/core/caching.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialise_cache(function_name: str):
__cache[function_name] = {}


def empty_cache(function_name: str):
def clear_cache(function_name: str):
"""Remove the cache for a given function."""
global __cache
del __cache[function_name]

0 comments on commit e9efc6c

Please sign in to comment.