-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
statrs 0.6.0 and 0.7.0 beta regression #43680
Comments
This conflicts with functions with the same name being implemented by other traits, e.g. by To fix this, either rename the conflicting functions, or call them using UFCS notation ( |
Thanks for the heads up, I'll address this ASAP. It'll make it to the 0.8.0
release which I'm hoping to cut by Monday
…On Sat, Aug 5, 2017 at 10:52 AM, Ariel Ben-Yehuda ***@***.***> wrote:
- #42496 <#42496> - The
functions Ord::min and Ord::max were added.
This conflicts with functions with the same name being implemented by
other traits, e.g. by trait Statistics defined in
https://github.com/boxtown/statrs/blob/v0.7.0/src/statistics/statistics.rs
To fix this, either rename the conflicting functions, or call them using
UFCS notation (Statistics::max(x).is_nan()). This is unfortunate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#43680 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACwkvmJEWj-YzFE132NeOw-prqRRC6Nbks5sVIHJgaJpZM4Oudmc>
.
|
@boxtown note that the change here seems to have caused more breakage than intended, so if you've got difficulty fixing this please let us know! |
Regression fix is in place in master (see statrs-dev/statrs@e728aac) and will be released with 0.8.0. It was only a small regression affecting doc tests for empty slices and can be easily resolved by pinning the type of the slice to |
Ok thanks for the info @boxtown! |
0.8.0 was just released yesterday so this issue can probably be closed |
Thanks! |
statrs versions 0.6.0 and 0.7.0 regressed from stable to beta (full log 1, full log 2):
cc @boxtown
The text was updated successfully, but these errors were encountered: