Skip to content

Commit

Permalink
allow kron for more than 2 arguments. fixes JuliaLang#4695
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Nov 8, 2013
1 parent 09369aa commit 8573b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ scalarmin(x::AbstractArray, y ) = error("min: ordering is not well
(|)(x::Integer) = x
($)(x::Integer) = x

for op = (:+, :*, :&, :|, :$, :min, :max)
for op = (:+, :*, :&, :|, :$, :min, :max, :kron)
@eval begin
# note: these definitions must not cause a dispatch loop when +(a,b) is
# not defined, and must only try to call 2-argument definitions, so
Expand Down

0 comments on commit 8573b82

Please sign in to comment.