From 67341bf98585b63e805b9a42b51fa47445b7c713 Mon Sep 17 00:00:00 2001 From: Sacha Verweij Date: Thu, 14 Jul 2016 14:24:04 -0700 Subject: [PATCH] Add note to NEWS.md re. setindex! for sparse matrices no longer purging allocated entries on zero assignment and mentioning dropstored!. --- NEWS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NEWS.md b/NEWS.md index b96a6f1f6568d3..fee3cbf43991bc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -196,6 +196,10 @@ Library improvements * All `sparse` methods now retain provided numerical zeros as structural nonzeros; to drop numerical zeros, use `dropzeros!` ([#14798], [#15242]). + * `setindex!` methods for sparse matrices no longer purge allocated entries on zero + assignment. To drop stored entries from `SparseMatrixCSC`s, use + `Base.SparseArrays.dropstored!` ([#17404]). + * New `foreach` function for calling a function on every element of a collection when the results are not needed ([#13774]). @@ -343,3 +347,4 @@ Deprecated or removed [#17323]: https://github.com/JuliaLang/julia/issues/17323 [#17374]: https://github.com/JuliaLang/julia/issues/17374 [#17402]: https://github.com/JuliaLang/julia/issues/17402 +[#17404]: https://github.com/JuliaLang/julia/issues/17404