Skip to content

Commit

Permalink
Revert: (push(ys, y), y)
Browse files Browse the repository at this point in the history
This reverts commit 4ca0144.
  • Loading branch information
tkf committed Feb 14, 2020
1 parent df87a52 commit b665233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapreduce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ _valof(::Val{D}) where D = D
(init = (similar_type(a, Union{}, Size(0))(), init),),
) do (ys, acc), x
y = rf(acc, x)
(push(ys, y), y)
(vcat(ys, SA[y]), y)
end
dims === (:) && return first(results)

Expand Down

0 comments on commit b665233

Please sign in to comment.