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

How to reinterpret a PyArray without copying data? #429

Closed
Moelf opened this issue Nov 28, 2023 · 0 comments
Closed

How to reinterpret a PyArray without copying data? #429

Moelf opened this issue Nov 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Moelf
Copy link

Moelf commented Nov 28, 2023

it's not specialized right now thus raising error like:

python_array_to_julia tests: Error During Test at /home/akako/Documents/github/dotFiles/homedir/.julia/dev/AwkwardArray/test/runpytests.jl:33
  Test threw exception
  Expression: python_array_to_julia(py_array) isa AwkwardArray.ListOffsetArray{SubArray{Int64, 1, Vector{Int64}, Tuple{UnitRange{Int64}}, true}, AwkwardArray.PrimitiveArray{Float64, SubArray{Float64, 1, Vector{Float64}, Tuple{UnitRange{Int64}}, true}, :default}, :default}
  ArgumentError: Source type for `reinterpret` must be isbits
  Stacktrace:
   [1] _reinterpret
@Moelf Moelf added the bug Something isn't working label Nov 28, 2023
@Moelf Moelf closed this as completed Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant