Skip to content

Commit c2be318

Browse files
Remove extraneous dss calls
1 parent 67abbcd commit c2be318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/solvers/imex_ark.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ function step_u!(integrator, cache::IMEXARKCache)
9696
end
9797
end
9898

99-
dss!(U, p, t_exp)
99+
i 1 && dss!(U, p, t_exp)
100100

101101
if !(!isnothing(T_imp!) && !iszero(a_imp[i, i])) # Implicit solve
102102
post_explicit!(U, p, t_imp)

src/solvers/imex_ssprk.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ function step_u!(integrator, cache::IMEXSSPRKCache)
9494
@. U_exp = (1 - β[i - 1]) * u + β[i - 1] * U_exp
9595
end
9696

97-
dss!(U_exp, p, t_exp)
97+
i 1 && dss!(U_exp, p, t_exp)
9898

9999
@. U = U_exp
100100
if !isnothing(T_imp!) # Update based on implicit tendencies from previous stages

0 commit comments

Comments
 (0)