-
-
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
make findmin/findmax behavior match min/max (fix #23209) #23227
Merged
+428
−95
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
b4113e7
findmin findmax in array.jl and reducedim.jl ( fix #23209)
KlausC 172c9ef
fixed issues with Inf, BigInt, and String
KlausC 915d719
fixed reducedim versions of minimum/maximum
KlausC 519184b
removed definition of zero2
KlausC faf4927
cover sparse matrices #23209
KlausC 2ad37fe
gitspaces...
KlausC 829f0c5
off-by-one bound-check bug in _findz fixed
KlausC 57329bf
Merge remote-tracking branch 'upstream/master' into fix#23209
KlausC 37d8bf3
avoid breaking of test "distributed"
KlausC 6c64a20
offsetarray compatibility - consistend empty case
KlausC d6cd550
offsetarray compatibility - consistent empty case
KlausC 78bbd14
Merge branch 'fix#23209' of https://github.com/KlausC/julia into fix#…
KlausC 6532ba8
use isequal in tests
KlausC be0f449
Remove unrelated distributed change
mbauman a52c2aa
Add NEWS.md
mbauman 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 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 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.
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.
In the
ai != ai
case this can short-circuit, right?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.
if
ai != ai
I expectisless
is not called. That shall cover theNaN
- case. This can occur at most once, since the next loop circle is broken by them != m
condition few lines before.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.
Ah, yes, I didn't notice the
m != m && break
check previously.