Skip to content

Commit

Permalink
Fix quantile doctest
Browse files Browse the repository at this point in the history
We should have updated the doctests when improving behavior at #184.
  • Loading branch information
nalimilan authored Feb 4, 2025
1 parent bfa5c6b commit 130ee7b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Statistics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -962,9 +962,9 @@ true
julia> y
3-element Vector{Float64}:
1.2000000000000002
1.2
2.0
2.8000000000000003
2.8
```
"""
function quantile!(q::AbstractArray, v::AbstractVector, p::AbstractArray;
Expand Down Expand Up @@ -1106,7 +1106,7 @@ julia> quantile(0:20, [0.1, 0.5, 0.9])
3-element Vector{Float64}:
2.0
10.0
18.000000000000004
18.0
julia> quantile(skipmissing([1, 10, missing]), 0.5)
5.5
Expand Down

0 comments on commit 130ee7b

Please sign in to comment.