From 8921a7de33f62cab2de52f5123f10f3ea6701c3a Mon Sep 17 00:00:00 2001 From: Mason Protter Date: Tue, 12 Mar 2024 13:29:38 +0100 Subject: [PATCH] fix test --- test/runtests.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index bd2500a4..f98fd7c3 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -166,11 +166,11 @@ end x[] += 1 x[] end) == 1.5 * ntd # if a new x would be allocated per iteration, we'd get ntd here. - # TaskLocalValue (begin ... end block) + # TaskLocalValue (begin ... end block), inferred TLV type @test @inferred (() -> @tasks for i in 1:10 @local begin - C::Matrix{Int64} = fill(4, 3, 3) - x::Vector{Float64} = fill(5.0, 3) + C = fill(4, 3, 3) + x = fill(5.0, 3) end @set reducer = (+) sum(C * x)