Skip to content

Conversation

moble
Copy link
Contributor

@moble moble commented Sep 29, 2025

Closes #798

There already was a test that hits this, so I've just removed the error message.

Copy link
Member

@devmotion devmotion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix (JuliaLang/julia@bb31772) is only available in Julia >= 1.10.0-alpha1 but ChainRules currently supports Julia >= 1.6.0.

Thus this PR either has to update the minimum Julia version to 1.10.0 (which IMO should be done in a separate PR though since it might entail other changes such as updates to CI and removal of VERSION specific branches) or the check has to be removed only in more recent Julia versions.

@moble moble force-pushed the map_mismatched_lengths branch from b9e8276 to 41c3252 Compare September 30, 2025 03:04
@moble
Copy link
Contributor Author

moble commented Sep 30, 2025

Good point. I've kept the check now, but wrapped it in a static version check.

Co-authored-by: David Müller-Widmann <[email protected]>
@moble
Copy link
Contributor Author

moble commented Sep 30, 2025

Alright, checks made more precise. The relevant test is still passing.

@devmotion devmotion merged commit 65410e5 into JuliaDiff:main Sep 30, 2025
5 of 10 checks passed
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.

rrule for map for tuples is outdated with respect to JuliaLang/julia#42216
2 participants