Works for me, on both 0.3 and 0.4.

Re broadcasting, see the help for `broadcast`; also, operators with a dot in 
front of them, e.g. `.+`, broadcast.

--Tim

On Saturday, January 03, 2015 06:04:44 PM AVF wrote:
> On Friday afternoon, this code was working:
> 
> using Distances
> 
> a = rand(10,2)
> b = rand(10,2)
> 
> colwise(Euclidean(), a', b')
> 
> Tonight it's not:
> 
> `colwise` has no method matching colwise(::Euclidean, ::Array{Float64,2},
> ::Array{Float64,2})
> 
> 
>  I did run Pkg.update() in between, so maybe something changed?
> 
> Also, is there a way yet to do broadcasting? I.e. comparing a point pt =
> rand(1, 2) to an array a = rand(10, 2)? Thanks...

Reply via email to