From bc7be5bfab32a3c30278b97d8569d5f713360b55 Mon Sep 17 00:00:00 2001 From: Carlo Baldassi Date: Sun, 2 Mar 2014 02:58:59 +0100 Subject: [PATCH] Broadcast ./ for BitArrays simply by removing a method! --- base/bitarray.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/base/bitarray.jl b/base/bitarray.jl index b087b5ade722e..34b62df427d7d 100644 --- a/base/bitarray.jl +++ b/base/bitarray.jl @@ -905,11 +905,6 @@ for f in (:+, :-) end end -function (./)(A::BitArray, B::BitArray) - shp = promote_shape(size(A),size(B)) - reshape([ A[i] ./ B[i] for i=1:length(A) ], shp) -end - for f in (:/, :\) @eval begin ($f)(A::BitArray, B::BitArray) = ($f)(bitunpack(A), bitunpack(B))