Skip to content

Commit f6b7b16

Browse files
authored
Merge pull request #942 from JuliaAI/pathch12345
Remove redundant code
2 parents 6a49b90 + e6d671d commit f6b7b16

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/resampling.jl

-6
Original file line numberDiff line numberDiff line change
@@ -557,12 +557,6 @@ end
557557
round3(x) = x
558558
round3(x::AbstractFloat) = round(x, sigdigits=3)
559559

560-
_short(v) = v
561-
_short(v::Vector{<:Real}) = MLJBase.short_string(v)
562-
_short(v::Vector) = string("[", join(_short.(v), ", "), "]")
563-
_short(::Missing) = missing
564-
565-
566560
const SE_FACTOR = 1.96 # For a 95% confidence interval.
567561

568562
_standard_error(v::AbstractVector{<:Real}) = SE_FACTOR*std(v) / sqrt(length(v) - 1)

0 commit comments

Comments
 (0)