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
)

(cherry picked from commit 609b2d6)
  • Loading branch information
Sacha0 authored and tkelman committed May 15, 2017
1 parent 91d0f09 commit d552789
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 @@ -432,6 +432,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 @@ -605,6 +610,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 d552789

Please sign in to comment.