Skip to content

improve type stability of ∇broadcasted for custom Number types #1360

New issue

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

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

ToucheSir
Copy link
Member

At least sometimes, the compiler seems to refuse to const-prop indicies from ntuple into the collapse_nothings(map(StaticGetter{i}(), dxs_zip)) callback. splitting out the getters seems to make everything work again.

Fixes the MWE in #1359.

PR Checklist

  • Tests are added
  • [N/A] Documentation, if applicable

@ToucheSir ToucheSir merged commit 084ea4b into master Jan 14, 2023
@ToucheSir ToucheSir deleted the bc/bcast-fallback-stability branch January 14, 2023 16:07
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