Skip to content

Commit

Permalink
remove Callable signature from prod
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Dec 13, 2017
1 parent e31685d commit 69114af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/reduce.jl
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ julia> prod(abs2, [2; 3; 4])
576
```
"""
prod(f::Callable, a) = mapreduce(f, mul_prod, a)
prod(f, a) = mapreduce(f, mul_prod, a)

"""
prod(itr)
Expand Down

0 comments on commit 69114af

Please sign in to comment.