Skip to content

Commit 67341bf

Browse files
committed
Add note to NEWS.md re. setindex! for sparse matrices no longer purging allocated entries on zero assignment and mentioning dropstored!.
1 parent 3b91be1 commit 67341bf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NEWS.md

+5
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,10 @@ Library improvements
196196
* All `sparse` methods now retain provided numerical zeros as structural nonzeros; to
197197
drop numerical zeros, use `dropzeros!` ([#14798], [#15242]).
198198

199+
* `setindex!` methods for sparse matrices no longer purge allocated entries on zero
200+
assignment. To drop stored entries from `SparseMatrixCSC`s, use
201+
`Base.SparseArrays.dropstored!` ([#17404]).
202+
199203
* New `foreach` function for calling a function on every element of a collection when
200204
the results are not needed ([#13774]).
201205

@@ -343,3 +347,4 @@ Deprecated or removed
343347
[#17323]: https://github.com/JuliaLang/julia/issues/17323
344348
[#17374]: https://github.com/JuliaLang/julia/issues/17374
345349
[#17402]: https://github.com/JuliaLang/julia/issues/17402
350+
[#17404]: https://github.com/JuliaLang/julia/issues/17404

0 commit comments

Comments
 (0)