Skip to content

Commit

Permalink
Merge pull request #2497 from devitocodes/fix-func-rebuild
Browse files Browse the repository at this point in the history
api: fix alias for buffering
  • Loading branch information
mloubout authored Dec 6, 2024
2 parents 2e970db + 2ba43d2 commit 514d5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devito/types/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,7 +877,7 @@ def __new__(cls, *args, **kwargs):
name = kwargs.get('name')
alias = kwargs.get('alias')
function = kwargs.get('function')
if alias or (function and function.name != name):
if alias is True or (function and function.name != name):
function = kwargs['function'] = None

# If same name/indices and `function` isn't None, then it's
Expand Down

0 comments on commit 514d5bb

Please sign in to comment.