Skip to content

Commit

Permalink
Remove local variable N in cat
Browse files Browse the repository at this point in the history
redundant with typevar and throwing a warning.
  • Loading branch information
mbauman committed Jan 7, 2017
1 parent b0e90e1 commit 9cd522c
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 @@ -1171,7 +1171,6 @@ function cat_t(dims, T::Type, X...)
end

function _cat{N}(A, shape::NTuple{N}, catdims, X...)
N = length(shape)
offsets = zeros(Int, N)
inds = Vector{UnitRange{Int}}(N)
concat = copy!(zeros(Bool, N), catdims)
Expand Down

0 comments on commit 9cd522c

Please sign in to comment.