Skip to content

Commit 13a7bb2

Browse files
authored
Remove @static in dg.jl
1 parent 6b14ed8 commit 13a7bb2

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
@@ -663,7 +663,7 @@ end
663663
# since LoopVectorization does not support `ForwardDiff.Dual`s. Hence, we use
664664
# optimized `PtrArray`s whenever possible and fall back to plain `Array`s
665665
# otherwise.
666-
@static if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
666+
if _PREFERENCE_THREADING === :polyester && LoopVectorization.check_args(u_ode)
667667
# This version using `PtrArray`s from StrideArrays.jl is very fast and
668668
# does not result in allocations.
669669
#

0 commit comments

Comments
 (0)