We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Affects: Both
Describe the bug We expected np.bool_ to convert to julia Bool, just like all the other np.int32 and np.float64, but instead we get an Array{Bool, 0}
np.bool_
Bool
np.int32
np.float64
Array{Bool, 0}
>>> import juliacall >>> jl.println(np.int_(1)) 1 >>> jl.println(int(1)) 1 >>> jl.println(np.True_) fill(true) >>> jl.println(True) true
Your system juliacall = "^0.9.15", several operating systems
juliacall = "^0.9.15"
Additional context Thank you for maintaining such an awesome piece of software. This occurs in finch-tensor/finch-tensor-python#54
The text was updated successfully, but these errors were encountered:
Happy to file a PR if you point me where to look
Sorry, something went wrong.
is this just because bool is missing from
PythonCall.jl/src/Convert/numpy.jl
Line 14 in 875c34d
Thanks - it was indeed an oversight. I've fixed it on main now.
Thanks so much for the quick fix! I'll let my team know!
No branches or pull requests
Affects: Both
Describe the bug
We expected
np.bool_
to convert to juliaBool
, just like all the othernp.int32
andnp.float64
, but instead we get anArray{Bool, 0}
Your system
juliacall = "^0.9.15"
, several operating systemsAdditional context
Thank you for maintaining such an awesome piece of software. This occurs in finch-tensor/finch-tensor-python#54
The text was updated successfully, but these errors were encountered: