Skip to content

Commit 34f601f

Browse files
committed
move copyto into quote
1 parent ae2b4e4 commit 34f601f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/systems/clock_inference.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,10 @@ function generate_discrete_affect(
380380
end
381381
end
382382
else
383-
:($empty_disc || disc(cache, disc_unknowns, p, t)) # Cache needed for atomic state update
384-
copyto!(disc_unknowns, cache)
383+
quote
384+
$empty_disc || disc(cache, disc_unknowns, p, t) # Cache needed for atomic state update
385+
copyto!(disc_unknowns, cache)
386+
end
385387
end
386388
)
387389
# @show "after state update", p

0 commit comments

Comments
 (0)