Skip to content

Commit

Permalink
Add kwargs to squeeze deprecation (#28374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keno authored and KristofferC committed Feb 11, 2019
1 parent 1839cd7 commit 0ac3357
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 0ac3357

Please sign in to comment.