From 4367fc68159bfd77c1e7b350e5eb2bd235a957d8 Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Mon, 11 Jul 2016 19:50:11 -0400 Subject: [PATCH] correct description of #17314 --- test/broadcast.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/broadcast.jl b/test/broadcast.jl index 25119990556e6..9f767672487d9 100644 --- a/test/broadcast.jl +++ b/test/broadcast.jl @@ -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)))