Closed mweastwood closed 9 years ago
This appears to be enough to trigger the bug:
immutable SIUnit{m,kg,s,A,K,mol,cd} <: Number
end
const Meter = SIUnit{1,0,0,0,0,0,0}()
const KiloGram = SIUnit{0,1,0,0,0,0,0}()
const Second = SIUnit{0,0,1,0,0,0,0}()
const si2str = Dict{SIUnit,ASCIIString}()
for (si,str) in ((Meter,"m"),(KiloGram,"kg"),(Second,"s"))
si2str[si] = str
end
This is my test script
Most of the time this script works as expected. However, every now and then (I estimate about 25% of the time) I get
I assume this is most likely a Julia error, but I'd like confirmation before I report it.
This is on da9e78d466f42d38bc058914552c0d499c688686 with: