Skip to content

No default_complex when xp.asarray is not present #199

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

Closed
mtsokol opened this issue Nov 10, 2023 · 1 comment · Fixed by #209
Closed

No default_complex when xp.asarray is not present #199

mtsokol opened this issue Nov 10, 2023 · 1 comment · Fixed by #209
Labels
bug Something isn't working low priority Low priority issue

Comments

@mtsokol
Copy link
Contributor

mtsokol commented Nov 10, 2023

Hi!
I noticed that there isn't a default complex dtype when xp.asarray is not present if branch. Is it on purpose, or could default_complex be added there? (it causes a setup failure when running tests for a lib without xp.asarray)

default_float = xp.float32

@honno honno added the bug Something isn't working label Nov 10, 2023
@honno
Copy link
Member

honno commented Nov 10, 2023

Nice catch, yeah this would be a problem. Although generally if a library doesn't have xp.asarray not much is going to get tested anyway 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Low priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants