Skip to content

Commit

Permalink
correct description of #17314
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Jul 11, 2016
1 parent 07a7d99 commit 319a01a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/broadcast.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ let x = sin.(1:10)
@test atan2.(x, 3.7) == broadcast(x -> atan2(x,3.7), x) == broadcast(atan2, x, 3.7)
end
# Use side effects to check for loop fusion. Note that, due to #17314,
# a broadcasted function is currently called twice on the first element.
# a broadcasted function is currently called an extra time with an argument 1.
let g = Int[]
f17300(x) = begin; push!(g, x); x+1; end
f17300.(f17300.(f17300.(1:3)))
Expand Down

0 comments on commit 319a01a

Please sign in to comment.