Skip to content

[BUG] Mixed scalar and block indexing is broken #19

Description

@mtfishman

These slicing operations are broken:

using BlockArrays: Block
using BlockSparseArrays: BlockSparseArray
a = BlockSparseArray{Float64}([2, 2], [2, 2])
a[1, Block(1)]
a[1, Block.(1:2)]

however the following appear to work:

a[1:1, Block(1)]
a[1:1, Block.(1:2)]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions