oops, add 
@assert eltype(a) == eltype(b)
in the checks too, otherwise there might be an "inexact error" when mixing 
integers and floats.


Reply via email to