-
Notifications
You must be signed in to change notification settings - Fork 3
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
Conversion from np.bool_ does not produce julia Bool. #54
Comments
Bool is certainly supported by Finch, it's fairly easy to confirm. If you're getting an error like |
One observation is that julia does seem to recognize a numpy array of bools.
|
some further investigation:
I don't spot the difference. I just think this is probably an artifact of PythonCall or a discrepancy between Python and Julia handling of Bool. Somewhere, the wrapper layer might not be converting a bool properly, or might not be able to. |
Finch.jl
accepts all dtypes except bool
.
Ah, here it is:
I am not sure why, but
I don't know why this conversion occurs, but it's related to the python/julia wrapper. Finch is just complaining because it doesn't like heap-allocated objects. |
Can we report this upstream (perhaps to |
yeah, maybe we should report it. |
@hameerabbasi @mtsokol They fixed it! |
Originally posted by @hameerabbasi in #48 (comment)
The text was updated successfully, but these errors were encountered: