Keno / SIUnits.jl

Efficient unit-checked computation
Other
70 stars 26 forks source link

SIQuantity{T<:Real} is not <: Real #83

Open stevengj opened 8 years ago

stevengj commented 8 years ago

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 giordano/Measurements.jl#1