Skip to content

Commit 69114af

Browse files
committed
remove Callable signature from prod
1 parent e31685d commit 69114af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/reduce.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ julia> prod(abs2, [2; 3; 4])
462462
576
463463
```
464464
"""
465-
prod(f::Callable, a) = mapreduce(f, mul_prod, a)
465+
prod(f, a) = mapreduce(f, mul_prod, a)
466466

467467
"""
468468
prod(itr)

0 commit comments

Comments
 (0)