Skip to content

Commit

Permalink
Broadcast ./ for BitArrays
Browse files Browse the repository at this point in the history
simply by removing a method!
  • Loading branch information
carlobaldassi committed Mar 3, 2014
1 parent e5d2d68 commit bc7be5b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions base/bitarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit bc7be5b

Please sign in to comment.