-
-
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
Fixups for #47383 (fixes runbenchmarks("sort")
)
#47822
Conversation
The new test failed. 👍 |
Now the new test passes (also 👍) |
@nanosoldier |
Your job failed. |
@vtjnash, would you post the log of this failure? I thought this would fix it, but perhaps it's a separate bug or another. |
Sure, it seems to be some sort of error with loading the package:
|
This fixes the test failure because it allows for automatic conversion. The manual for implementing the AbstractArray interface also does not recomend a type signature for the value arg in setindex!.
The bug is still from #47383; the first pair of commits fixed one bug only to unveil another. The second pair of commits test and fix a second bug. It's wild that these bugs come up in benchmarks but neither CI nor PkgEval (though they will now come up in CI). Perhaps we are benchmarking code paths that are not used anywhere in the package ecosystem. @nanosoldier |
Your benchmark job has completed - successfully executed benchmarks. A full report can be found here. |
runbenchmarks("sort")
)
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 don't see any problem with the PR.
* add test demonstrating overflow in countsort * fix overflow in countsort * remove unnecessary type annotations (fixes tests) This fixes the test failure because it allows for automatic conversion. The manual for implementing the AbstractArray interface also does not recomend a type signature for the value arg in setindex!. Co-authored-by: Lilith Hafner <Lilith.Hafner@gmail.com> (cherry picked from commit 965bc7d)
CountSort
setindex!(v::WithoutMissingVector, x, i)
I believe this is the issue behind JuliaCI/BaseBenchmarks.jl#305, #47795, etc.