Skip to content

Return original expression if children unchanged#229

Merged
inducer merged 3 commits intoinducer:mainfrom
alexfikl:fix-identity-mapper
Dec 7, 2025
Merged

Return original expression if children unchanged#229
inducer merged 3 commits intoinducer:mainfrom
alexfikl:fix-identity-mapper

Conversation

@alexfikl
Copy link
Copy Markdown
Collaborator

@alexfikl alexfikl commented Dec 7, 2025

In IdentityMapper, this now also returns the original expressions if the children are unchanged for list, ndarray, MultiVector.

I just noticed this as an inconsistency (i.e. it didn't break anything), so not sure if it's a good idea? They're not the most hashable of types anyway, so not sure where this would be useful.

@alexfikl alexfikl force-pushed the fix-identity-mapper branch from 9c6ee57 to b4cd555 Compare December 7, 2025 13:55
@inducer inducer merged commit 3ef35b1 into inducer:main Dec 7, 2025
10 checks passed
@inducer
Copy link
Copy Markdown
Owner

inducer commented Dec 7, 2025

Thx!

@alexfikl alexfikl deleted the fix-identity-mapper branch December 7, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants