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

Steprange indexing with Block not working #419

Open
dlfivefifty opened this issue Oct 3, 2024 · 0 comments
Open

Steprange indexing with Block not working #419

dlfivefifty opened this issue Oct 3, 2024 · 0 comments

Comments

@dlfivefifty
Copy link
Member

julia> Block(K)[1:2:3]
ERROR: MethodError: no method matching getindex(::Block{1, Int64}, ::StepRange{Int64, Int64})

Closest candidates are:
  getindex(::Block, ::CartesianIndex{0})
   @ BlockArrays ~/.julia/packages/BlockArrays/VccC2/src/blockindices.jl:59
  getindex(::Block{1}, ::Base.Slice)
   @ BlockArrays ~/.julia/packages/BlockArrays/VccC2/src/blockindices.jl:209
  getindex(::Block{N}, ::Integer...) where N
   @ BlockArrays ~/.julia/packages/BlockArrays/VccC2/src/blockindices.jl:206
  ...
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

No branches or pull requests

1 participant