-
Notifications
You must be signed in to change notification settings - Fork 44
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
Revert "Prepare standalone package, step 2 (#128)" #148
Conversation
This reverts commit 14438ab. `mean` will not be moved to Base as Statistics will remain an (upgradable) stdlib. Keep version at 1.11.0 though.
Codecov ReportPatch coverage is
📢 Thoughts on this report? Let us know!. |
src/Statistics.jl
Outdated
end | ||
|
||
median(r::AbstractRange{<:Real}) = mean(r) |
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.
why is this definition moved here?
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 commit this reverts I had moved it outside of the if
as we had to define it even if mean
was defined in Base. I'm just moving it to its original place. But yeah the new one is more logical so maybe we could live it there.
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.
For me the location near other median
methods is more logical.
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.
OK, let's do that.
This reverts commit 14438ab.
mean
will not be moved to Base as Statistics will remain an (upgradable) stdlib.Keep version at 1.11.0 though.