Skip to content

Commit 3ad849b

Browse files
afilogovchuravy
andauthored
Update src/solvers/dg.jl
Co-authored-by: Valentin Churavy <[email protected]>
1 parent 15fd66f commit 3ad849b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/dg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ end
638638
# since LoopVectorization does not support `ForwardDiff.Dual`s. Hence, we use
639639
# optimized `PtrArray`s whenever possible and fall back to plain `Array`s
640640
# otherwise.
641-
if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
641+
@static if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
642642
# This version using `PtrArray`s from StrideArrays.jl is very fast and
643643
# does not result in allocations.
644644
#

0 commit comments

Comments
 (0)