Skip to content

Commit 875fdb4

Browse files
suppress warning due to unused type parameter (#122)
1 parent 417ba02 commit 875fdb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logger_dispatch.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ summary_impl(name, value::Any) = text_summary(name, value)
7676

7777
########## For things going to LogHistograms ########################
7878
# Only consider 1D histograms for histogram plotting
79-
preprocess(name, hist::Histogram{T,1}, data) where T = push!(data, name=>hist)
79+
preprocess(name, hist::Histogram{<:Any,1}, data) = push!(data, name=>hist)
8080
summary_impl(name, hist::Histogram) = histogram_summary(name, hist)
8181

8282
# TODO: maybe deprecate? tuple means histogram (only if bins/weights match)

0 commit comments

Comments
 (0)