Hi, 

Why the following commands give different results?

julia> broadcast(.==,[1.0],[0.0,1.0])
2-element Array{Float64,1}:
 0.0
 1.0

julia> repmat([1.0],2,1).==[0.0,1.0]
2x1 BitArray{2}:
 false
  true



How can I use broadcast for array comparisons (with a bit array as output)?

Thanks,
Alex

Reply via email to