Skip to content

Fix boolean indices in array assignment - #8538

Merged
jsignell merged 4 commits into
dask:mainfrom
davidhassell:setitem-boolean-fix
Jan 13, 2022
Merged

jsignell merged 4 commits into
dask:mainfrom
davidhassell:setitem-boolean-fix

Conversation

@davidhassell

Copy link
Copy Markdown
Contributor

@GPUtester

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

@github-actions github-actions Bot added the array label Jan 6, 2022
@jsignell

jsignell commented Jan 7, 2022

Copy link
Copy Markdown
Member

add to allowlist

@jsignell
jsignell self-requested a review January 7, 2022 16:32

@jsignell jsignell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@davidhassell

Copy link
Copy Markdown
Contributor Author

I had some problems install cupy (:)), but have updated the tests with what I think ought to work. I'll keep an eye on the GitHub actions to see what happens ...

@davidhassell

Copy link
Copy Markdown
Contributor Author

Well, according to the logs, the new tests didn't fail, but none of them ran because cupy could no be imported.

@jsignell

Copy link
Copy Markdown
Member

I should have mentioned that they run in their own CI system. It's at the bottom of the list above:

image

So the tests passed!

@jsignell

Copy link
Copy Markdown
Member

I'll merge this in a few days unless anyone else has comments.

@jsignell
jsignell merged commit 17f8fee into dask:main Jan 13, 2022
@jsignell

Copy link
Copy Markdown
Member

Thanks for doing this fix @davidhassell!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dask interprets boolean array as an index array

3 participants