Closed timholy closed 10 years ago
Prior to this,
julia> 1m<2kg true
Also, since currently type inference yields
r = 1.0m./[1m,2m] julia> typeof(r[1]) SIQuantity{Float64,0,0,0,0,0,0,0} (constructor with 1 method)
(even when inside a function), it's important to have comparisons between plain numbers and objects of type SIQuantity{Float64,0,0,0,0,0,0,0}.
SIQuantity{Float64,0,0,0,0,0,0,0}
Fails on 0.2 (see Travis). Can you have a look?
It was the usual change-in-convert-behavior-in-constructors problem. It passes for both locally, let's see what the Travis build says.
convert
Thanks!
Prior to this,
Also, since currently type inference yields
(even when inside a function), it's important to have comparisons between plain numbers and objects of type
SIQuantity{Float64,0,0,0,0,0,0,0}
.