Skip to content

Commit

Permalink
Fixing an odd failing in reductions.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuernber committed May 28, 2021
1 parent c5d88e3 commit ef310a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tech/v3/parallel/for.clj
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
group-len (- group-end group-start)
callable #(indexed-map-fn group-start group-len)]
(.submit common-pool ^Callable callable))))
(map #(.get ^Future %))
(mapv #(.get ^Future %))
(reduce-fn)))))
([num-iters indexed-map-fn reduce-fn]
(indexed-map-reduce num-iters indexed-map-fn reduce-fn default-max-batch-size))
Expand Down

0 comments on commit ef310a6

Please sign in to comment.