-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
MAINT Deprecate utils.extmath.safe_min #14554
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
Conversation
Co-Authored-By: jeremiedbb <34657725+jeremiedbb@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, it's available since 0.13. LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add to whats new and the Recently deprecated section of docs/modules/classes.rst
?
It's not documented, and therefore I would consider it private (#12927). The deprecation warning is there just to be nice. On a related topic @amueller recently proposed to move these to private import paths without deprecation in #6616 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpicks
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
Co-Authored-By: Thomas J Fan <thomasjpfan@gmail.com>
utils.extmath.safe_min
implements a min function that also works for sparse arrays, however it should no longer be necessary with the scipy versions we support.