-
-
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
added extrema(A,dims) #15550
added extrema(A,dims) #15550
Conversation
@@ -2083,11 +2083,18 @@ appended to an internal buffer of backtraces. | |||
:@profile | |||
|
|||
""" | |||
extrema(itr) | |||
extrema(itr) -> Tuple |
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.
you need to adjust the rst signature to match this change, add the new signature to the rst, run make docs
and commit the generated rst
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.
i'm sorry, but could you be more specific? how do i "add the new signature to the rst"? thanks.
@tkelman docs are now fixed |
97b93d2
to
a44abb4
Compare
Looks okay to me but could use a correctness double check from someone familiar with the cartesian macros. |
(@nref $N B j) = (BJ[1], AI) | ||
end | ||
end | ||
squeeze(B, tuple(find([sB...].==1)...)) |
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.
I'd get rid of this squeeze for consistency with minimum(A, dims)
, maximum(A, dims)
, etc.
squeeze removed |
Looks good, thanks! |
minimum
andmaximum
already have adims
option, but notextrema
, so i added it. see #15376 and #3893 for discussion.