-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Fix extrema(x; dims)
for inputs with NaN/missing
#43604
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
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7b0e72e
Define `extrema` using `mapreduce`; support `init`
tkf c6ffc87
Add NEWS
tkf 194c329
Fix a typo
tkf 793a020
Reword a comment slightly
tkf de7b9bc
Merge branch 'master' into extrema
tkf 5ebf8ad
Apply suggestions from code review
tkf 2d70b7d
Fixup docstrings
tkf 317548a
Add simple tests for Core.Compiler.extrema
tkf 360b346
Name the output tuple elements (mn, mx)
tkf 841de8a
Merge remote-tracking branch 'origin/master' into extrema
simeonschaub 2533b14
Merge branch 'master' into extrema
tkf f27f874
Update base/multidimensional.jl
tkf ce07cbf
Fix compat annotations
tkf 3ceaaae
Improve extrema docstring
tkf 5669d63
Fix tests for SparseArrays
tkf 28471a6
Merge branch 'pr/36265' into PR36265(cleaned)
N5N3 ce16396
API clean
N5N3 cfb2e8b
add test for extrema(!)
N5N3 d9fce2a
remove short circuit for correctness
N5N3 065a28f
Remove `_extrema_rf` optimization for `AbstractFloat` (follow advise)
N5N3 b6a93bd
Re-implement `reducedim_init` for extrema
N5N3 a2a039d
Test fix
N5N3 0486330
Merge branch 'master' into extrama
N5N3 98d2743
Inference fix
N5N3 2c57b1f
Merge branch 'master' into extrama
N5N3 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -385,6 +385,7 @@ export | |
eachindex, | ||
eachrow, | ||
eachslice, | ||
extrema!, | ||
extrema, | ||
fill!, | ||
fill, | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.