Open oxinabox opened 5 years ago
Although, these two should probably be removed and usage should change to broadcast instead:
mean(x::AbstractArray{<:Quantity}, r::Int)
round(x::AbstractArray{<:Quantity}, r::Int)
round
was removed from Unitful.jl on purpose.
https://github.com/ajkeller34/Unitful.jl/issues/78
Actually Unitful still has round
methods for objects of type DimensionlessQuantity
(https://github.com/ajkeller34/Unitful.jl/blob/master/src/quantities.jl#L279) but I agree that these methods should be deprecated and moved to Unitful or removed completely.
The following methods are pirated from
Base
andUnitful
.The piracy can be resolved by moving them into Unitful itself.