Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate diff(::AbstractMatrix), require a dim argument #25457

Merged
merged 2 commits into from
Jan 9, 2018

Conversation

mbauman
Copy link
Member

@mbauman mbauman commented Jan 8, 2018

Akin to cumsum, diff now requires a dim argument in cases where the array has more than one dimension. Final piece of #20041 for the 1.0 milestone.

Akin to `cumsum`, `diff` now requires a `dim` argument in cases where the array has more than one dimension. Final piece of #20041 for the 1.0 milestone.
@mbauman mbauman added arrays [a, r, r, a, y, s] deprecation This change introduces or involves a deprecation labels Jan 8, 2018
NEWS.md Outdated
argument instead of defaulting to using the first dimension ([#24684]).
* `cumsum`, `cumprod`, `accumulate`, their mutating versions, and `diff` all now require a `dim`
argument instead of defaulting to using the first dimension unless there is only
one dimension ([#24684]).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps add a reference to this PR too :)

@fredrikekre fredrikekre merged commit 9624f10 into master Jan 9, 2018
@fredrikekre fredrikekre deleted the mb/lessdiff branch January 9, 2018 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrays [a, r, r, a, y, s] deprecation This change introduces or involves a deprecation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants