8000 ENH: correct identity for logaddexp2 ufunc: -inf by eriknw · Pull Request #16102 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

ENH: correct identity for logaddexp2 ufunc: -inf #16102

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

Merged
merged 4 commits into from
May 13, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update doc/release/upcoming_changes/16102.improvement.rst
ENH: use valid link in update note

Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
  • Loading branch information
eriknw and seberg authored May 13, 2020
commit 21ad7ca4ca4e7562527eb706e7591d6c472f5fdd
4 changes: 2 additions & 2 deletions doc/release/upcoming_changes/16102.improvement.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
``np.logaddexp2.identity`` changed to ``-inf``
----------------------------------------------
The ufunc `logaddexp2` now has an identity of ``-inf``, allowing it to
be called on empty sequences. This matches the identity of `logaddexp`.
The ufunc `~numpy.logaddexp2` now has an identity of ``-inf``, allowing it to
be called on empty sequences. This matches the identity of `~numpy.logaddexp`.
0