Skip to content

Commit

Permalink
Remove a redundant method definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
powerdistribution committed Mar 4, 2013
1 parent 184f372 commit 13c2c44
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion base/abstractarray.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,6 @@ all(A::AbstractArray{Bool}, region) = reducedim(all,A,region,true)
any(A::AbstractArray{Bool}, region) = reducedim(any,A,region,false)
sum(A::AbstractArray{Bool}, region) = reducedim(+,A,region,0,similar(A,Int,reduced_dims(A,region)))
sum(A::AbstractArray{Bool}) = sum(A, [1:ndims(A)])[1]
sum(A::StridedArray{Bool}) = sum(A, [1:ndims(A)])[1]
prod(A::AbstractArray{Bool}) =
error("use all() instead of prod() for boolean arrays")
prod(A::AbstractArray{Bool}, region) =
Expand Down

0 comments on commit 13c2c44

Please sign in to comment.