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

FIX Propagate input array's device in asarray #72

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

betatim
Copy link
Member

@betatim betatim commented Oct 21, 2024

This fixes the problem reported in #70 (but doesn't close because the issue is more generic).

Simple case of forgetting to propagate the device of the input (if it is an array). I've added a test for this and fixedfull_like and empty_like where this was missing.

@asmeurer asmeurer merged commit f34fa52 into data-apis:main Oct 21, 2024
21 checks passed
@betatim betatim deleted the asarray-default-device branch October 22, 2024 07:08
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