Skip to content

Commit

Permalink
Fix quantile doctest formatting (#29573)
Browse files Browse the repository at this point in the history
An errant space was causing the online documentation to render the docstring incorrectly: https://docs.julialang.org/en/v1/stdlib/Statistics/index.html#Statistics.quantile

(cherry picked from commit 367aab3)
  • Loading branch information
bovine3dom authored and KristofferC committed Feb 20, 2020
1 parent 5c91eac commit 067180a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Statistics/src/Statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ julia> quantile(0:20, [0.1, 0.5, 0.9])
julia> quantile(skipmissing([1, 10, missing]), 0.5)
5.5
```
```
"""
quantile(itr, p; sorted::Bool=false) = quantile!(collect(itr), p, sorted=sorted)

Expand Down

0 comments on commit 067180a

Please sign in to comment.