SparseArrays.jl
SparseArrays.jl copied to clipboard
Julia 1.9.0 doesn't drop zeros when assigning to a sparse array only when the elements are Big
MWE:
julia> A = spzeros(BigInt, 3, 3); A[1] = 0; A
3×3 SparseMatrixCSC{BigInt, Int64} with 1 stored entry:
0 ⋅ ⋅
⋅ ⋅ ⋅
⋅ ⋅ ⋅
This change was introduced in https://github.com/JuliaSparse/SparseArrays.jl/pull/296.
Originally posted by @YingboMa in https://github.com/JuliaLang/julia/issues/49766