SIQuantity{T<:Real} is not <: Real
stevengj opened this issue · comments
I'm not sure if there is a good way around this short of defining a new type for real-valued SI quantities, but it is a bit frustrating for passing something like 1Meter
to a function or type requiring Real
.
e.g. this came up in JuliaPhysics/Measurements.jl#1