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
feat[next]: Slicing field to 0d to return field not scalar #1427
feat[next]: Slicing field to 0d to return field not scalar #1427
Changes from 52 commits
7292b2e
75c96ea
92f92d1
4a19cf9
1e6d90f
5034f63
8f64d19
b3f7292
1ef427d
75339ba
1de57a1
41bdf23
bed69b4
20970ab
d6b3d93
687e724
621aab0
4d56367
0c5ce05
e1de878
ff1d87e
ab0a830
e412aed
7fb99e2
7d4e8c3
91ab9e3
29c1c34
727fadb
a7c5393
9ed035e
8feeee3
f6bea1e
ea48fae
9ad29de
064654e
8034a59
32fcdf8
93de32d
aa8568e
1acb6fb
6a47b53
c1a4be3
6c3a28a
bc7e1bc
3cfa2af
71ea725
e70edcf
fd96f26
76cbf20
ebb5045
9308e18
23eb8df
1d50c00
39ec79f
ccdebc2
b50305b
3f68e55
99609fa
5f59b22
5126919
f15783c
55cf242
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.
Not needed, see comment above.
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.
Shouldn't this be removed already?
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.
Maybe we should clarify this (also @egparedes):
do we care what kind the buffer is? I think we only care that the field is still a field, but the buffer could be np.int32 conceptually.
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.
Yes, I agree that the main check should be that the field is still a field and it doesn't matter the specific type of the buffer, but I guess it should still be some ndarray-like buffer