-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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 clamp! #22247
Deprecate clamp! #22247
Conversation
There's a reason for my github name! OK. I have removed these two mentions of |
base/deprecated.jl
Outdated
@@ -748,6 +748,7 @@ end | |||
|
|||
# Deprecate manually vectorized clamp methods in favor of compact broadcast syntax | |||
@deprecate clamp(A::AbstractArray, lo, hi) clamp.(A, lo, hi) | |||
@deprecate clamp!(A::AbstractArray, lo, hi) A .= clamp.(A, lo, hi) |
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.
this needs to be in the 0.7 section down near the end of the file
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.
OK. I appreciate your patience with me. Thanks.
doc build is having trouble on CI, looks like you need to remove |
This function is actually not a huge problem --- since |
I agree. I find |
Fixes #22236