using Distance

 euclidean ([1:10;1:10], [1:10])
ERROR: DimensionMismatch("The lengths of a and b must match.")
 in get_common_len at /home/nbecker/.julia/v0.4/Distance/src/common.jl:11
 in sumsqdiff at /home/nbecker/.julia/v0.4/Distance/src/metrics.jl:40
 in euclidean at /home/nbecker/.julia/v0.4/Distance/src/metrics.jl:83

How would I force broadcasting here, in a space and time efficient manner?
I believe numpy would use newaxis for this.

-- 
-- Those who don't understand recursion are doomed to repeat it

Reply via email to