SparseArrays.jl
SparseArrays.jl copied to clipboard
-0.0, storing zeros other than zero(eltype(v))
For almost any value and assignable expression in Julia, this holds:
expr = value
@assert expr === value
I wish this held, too:
v = spzeros(1)
value = -0.0
v[1] = value
@assert v[1] === value