Skip to content

[BUG] Broadcasting assignments are not working #19

Closed
@lkdvos

Description

@lkdvos

MWE:

using SparseArraysBase
a = SparseArraysBase.SparseArrayDOK{Float64}(2,2)
a[1] = 1
julia> a
2×2 SparseMatrixDOK{Float64, typeof(SparseArraysBase.default_getunstoredindex)}:
 1.0  
     

julia> a .*= 2
2×2 SparseMatrixDOK{Float64, typeof(SparseArraysBase.default_getunstoredindex)}:
 0.0  
     

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