Keno / SIUnits.jl

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

Define ==(::SIUnit,::SIUnit) #50

Closed mweastwood closed 9 years ago

mweastwood commented 9 years ago

This fixes #49

The problem was that SIUnit inheriting == from Number, which assumed a promotion rule would exist.

timholy commented 9 years ago

LGTM. Nice debugging.