Skip to content
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

[c++] Fix for empty-indexed multi-dimensional array #1706

Merged

Conversation

nguyenv
Copy link
Member

@nguyenv nguyenv commented Sep 20, 2023

Issue and/or context:
#1703

Changes:
Modify subarray_range_empty_ to be a mapping of dimension name to whether the query range is empty. is_empty_query() returns true if any of the ranges are empty.

@shortcut-integration
Copy link

@johnkerl johnkerl self-requested a review September 20, 2023 22:21
@johnkerl johnkerl changed the title [c++] Fix For Empty-Indexed Multi-Dimensional Array [c++] Fix for empty-indexed multi-dimensional array Sep 20, 2023
Copy link
Member

@johnkerl johnkerl left a comment

Choose a reason for hiding this comment

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

🚀

Copy link
Contributor

@eddelbuettel eddelbuettel left a comment

Choose a reason for hiding this comment

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

👍

@codecov-commenter
Copy link

Codecov Report

Patch has no changes to coverable lines.

❗ Current head 31e5160 differs from pull request most recent head e25af42. Consider uploading reports for the commit e25af42 to get more accurate results

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

📢 Thoughts on this report? Let us know!.

@johnkerl johnkerl merged commit 7a0d937 into main Sep 20, 2023
@johnkerl johnkerl deleted the viviannguyen/sc-34502/czi-sparsendarray-read-returns-incorrect branch September 20, 2023 22:40
@johnkerl
Copy link
Member

Analysis here: #1703 (comment)

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.

[python] SparseNDArray read returns incorrect result when one dimension is empty-indexed
4 participants