diff --git a/src/OnlineStatsBase.jl b/src/OnlineStatsBase.jl index 807e6a4..61f51d0 100644 --- a/src/OnlineStatsBase.jl +++ b/src/OnlineStatsBase.jl @@ -118,7 +118,7 @@ end fit!(o::OnlineStat{T}, yi::T) where {T} = (_fit!(o, yi); return o) function fit!(o::OnlineStat{I}, y::T) where {I, T} - T == eltype(y) && error("The input for $(name(o,false,false)) is a $I. Found $T.") + T == eltype(y) && error("The input for $(name(o,false,false)) is $I. Found $T.") for yi in y fit!(o, yi) end