Skip to content

Commit

Permalink
* remove duplicate sort! defn
Browse files Browse the repository at this point in the history
* quiet test suite
  • Loading branch information
jlapeyre committed Oct 11, 2016
1 parent 179f2e9 commit f1beb96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cdfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function Base.append!(cdf::EmpiricalCDFHi, times)
end

# Extend base functions
for f in ( :length, :sort!, :minimum, :maximum, :mean, :std, :quantile )
for f in ( :length, :minimum, :maximum, :mean, :std, :quantile )
@eval begin
Base.$(f)(cdf::AbstractEmpiricalCDF,args...) = $(f)(cdf.xdata,args...)
end
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ mlescan = EmpiricalCDFs.scanmle(paretocdf,15)
@test typeof(rand(paretocdf)) <: AbstractFloat

@test (push!(paretocdf, .5) ; true)
@test (show(paretocdf); true)
@test (show(DevNull, paretocdf); true)

0 comments on commit f1beb96

Please sign in to comment.