Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
New alignment option:
join='strict'
#8698New alignment option:
join='strict'
#8698Changes from 5 commits
bbe7d05
cddcaa1
37a7b09
a93e44b
ed4873e
c6b1df5
ed0414a
a8bc8dc
451c96f
f46b19b
95295d1
80f5e1b
d84c688
06c2077
a7148d6
3a4e81a
4247a86
9db7db1
9966d4e
e4d0a84
fe56de8
e4b0cd8
6a4db7b
26d7311
df8fd3a
651289f
5cc61b0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[edited from earlier incorrect response]
The existing behavior does seem quite surprising. Is it only an issue with 1D arrays?Another option would be refining
exact
. It sounds like you tried this but many tests failed. It might be worth pushing that PR if you still have it.I'd want to ask others why we don't enforce identical dimension names...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a test with 2D arrays, they are concerned too
What I can do as a simple test is to systematically transform 'exact' to 'strict' when entering the alignment logic and pushing this logic as a separate draft PR (#8729) to see the failing tests.
Edit: Results on the "bare-minimum" CI job: 96 Failed. It seems that in many cases, the leniency is desirable (eg many tests containing the string
broadcast
in them).Example:
test_cat_broadcast_left
.Stacktrace