JuliaSparse / SuiteSparseGraphBLAS.jl

Sparse, General Linear Algebra for Graphs!
MIT License
102 stars 17 forks source link

deleteat! fails on GBVector #83

Closed andreyz4k closed 2 years ago

andreyz4k commented 2 years ago
julia> B = GBVector([1, 2, 3, 4, 5, 6, 7], [1, 2, 3, 4, 5, 6, 7])
7x1 GraphBLAS int64_t matrix, full by col
  7 entries, memory: 264 bytes

    (1,1)   1
    (2,1)   2
    (3,1)   3
    (4,1)   4
    (5,1)   5
    (6,1)   6
    (7,1)   7

julia> deleteat!(B, 3)
ERROR: SuiteSparseGraphBLAS.InvalidIndexError
Stacktrace:
 [1] deleteat!(v::GBVector{Int64, Nothing}, i::Int64)
   @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/abstractgbarray.jl:470
 [2] top-level scope
   @ REPL[77]:1