We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MFE:
from devito.types.basic import DataSymbol s0 = DataSymbol(name='s') s1 = DataSymbol(name='s') s2 = s0._rebuild(name='s2') s3 = s1._rebuild(name='s3') # Causes s1 to be incorrectly substituted # mapper = {s0: s2, s1: s3} # Causes s0 to be incorrectly substituted mapper = {s1: s3, s0: s2} print(s0.subs(mapper)) print(mapper[s0]) print(s1.subs(mapper)) print(mapper[s1])
Returns
s3 s2 s3 s3
rather than
s2 s2 s3 s3
This line is a potential culprit for this behaviour. #2510 features a workaround in the context of concretisation.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MFE:
Returns
rather than
This line is a potential culprit for this behaviour. #2510 features a workaround in the context of concretisation.
The text was updated successfully, but these errors were encountered: