Skip to content

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

Open
@mtfishman

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)]

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