We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15fd66f commit 3ad849bCopy full SHA for 3ad849b
src/solvers/dg.jl
@@ -638,7 +638,7 @@ end
638
# since LoopVectorization does not support `ForwardDiff.Dual`s. Hence, we use
639
# optimized `PtrArray`s whenever possible and fall back to plain `Array`s
640
# otherwise.
641
- if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
+ @static if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
642
# This version using `PtrArray`s from StrideArrays.jl is very fast and
643
# does not result in allocations.
644
#
0 commit comments