Skip to content

Commit

Permalink
Add NEWS.md entry for deprecation of Array(T, dims...) (#19989). (#21857
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Sacha0 authored and tkelman committed May 15, 2017
1 parent 50c2a37 commit 609b2d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@ Deprecated or removed
* `cummin` and `cummax` have been deprecated in favor of `accumulate`.
* The `Array` constructor syntax `Array(T, dims...)` has been deprecated
in favor of the forms `Array{T,N}(dims...)` (where `N` is known, or
particularly `Vector{T}(dims...)` for `N = 1` and `Matrix{T}(dims...)` for `N = 2`),
and `Array{T}(dims...)` (where `N` is not known) ([#19989]).
* `sumabs` and `sumabs2` have been deprecated in favor of `sum(abs, x)` and `sum(abs2, x)`, respectively.
`maxabs` and `minabs` have similarly been deprecated in favor of `maximum(abs, x)` and `minimum(abs, x)`.
Likewise for the in-place counterparts of these functions ([#19598]).
Expand Down Expand Up @@ -642,6 +647,7 @@ Command-line option changes
[#19944]: https://github.com/JuliaLang/julia/issues/19944
[#19949]: https://github.com/JuliaLang/julia/issues/19949
[#19950]: https://github.com/JuliaLang/julia/issues/19950
[#19989]: https://github.com/JuliaLang/julia/issues/19989
[#20009]: https://github.com/JuliaLang/julia/issues/20009
[#20047]: https://github.com/JuliaLang/julia/issues/20047
[#20079]: https://github.com/JuliaLang/julia/issues/20079
Expand Down

0 comments on commit 609b2d6

Please sign in to comment.