Skip to content

Commit d0f9283

Browse files
committed
delete tuple preprocess path for hsitograms
1 parent f5f0877 commit d0f9283

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/logger_dispatch.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,6 @@ summary_impl(name, value::Any) = text_summary(name, value)
7979
preprocess(name, hist::Histogram{<:Any,1}, data) = push!(data, name=>hist)
8080
summary_impl(name, hist::Histogram) = histogram_summary(name, hist)
8181

82-
preprocess(name, (bins,weights)::Tuple{AbstractVector{<:Real},AbstractVector{<:Real}}, data) = return preprocess(name, fit(Histogram, weights, bins), data)
83-
8482
preprocess(name, val::AbstractArray{<:Real}, data) = return preprocess(name, fit(Histogram, collect(vec(val))), data)
8583

8684
# Split complex numbers into real/complex pairs

0 commit comments

Comments
 (0)