Closed jariji closed 1 year ago
Mean
is parameterized by the <:Number
that stores the estimate. In this case, you'd want the storage type to be typeof(1.0u"m")
to accommodate the input type from Unitful.
julia> Folds.reduce(OnlineStats.Mean(typeof(1.0u"m")), [3u"m", 4u"m", 5u"m"])
Mean: n=3 | value=4.0 m
Is this intended to be supported?