Skip to content

Commit

Permalink
Add kwargs to squeeze deprecation (JuliaLang#28374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno committed Jul 31, 2018
1 parent 47bd0ce commit 40f8468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ export readandwrite

@deprecate flipdim(A, d) reverse(A, dims=d)

@deprecate squeeze dropdims
@deprecate squeeze(args...; kwargs...) dropdims(args...; kwargs...)
@deprecate dropdims(A, dims) dropdims(A, dims=dims)

@deprecate diff(A::AbstractMatrix, dim::Integer) diff(A, dims=dim)
Expand Down

0 comments on commit 40f8468

Please sign in to comment.