Skip to content
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

Merged
merged 3 commits into from
Sep 10, 2023
Merged

Conversation

nalimilan
Copy link
Member

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.

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-commenter
Copy link

codecov-commenter commented Sep 9, 2023

Codecov Report

Patch coverage is 88.09% of modified lines.

Files Changed Coverage
src/Statistics.jl 88.09%

📢 Thoughts on this report? Let us know!.

end

median(r::AbstractRange{<:Real}) = mean(r)
Copy link
Contributor

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?

Copy link
Member Author

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.

Copy link
Contributor

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.

Copy link
Member Author

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.

@nalimilan nalimilan merged commit 46290a0 into master Sep 10, 2023
11 checks passed
@nalimilan nalimilan deleted the nl/revert branch September 10, 2023 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants