Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MasonProtter committed Mar 12, 2024
1 parent 68bce8c commit 8921a7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8921a7d

Please sign in to comment.