Skip to content

Commit 4c0109f

Browse files
authored
Fix calc_W for W_transform refactor
CI didn't catch this for some reason.
1 parent 870b882 commit 4c0109f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/utility_tests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ using StochasticDiffEq.SciMLOperators: MatrixOperator
1717
jac=(u,p,t) -> A)
1818
prob = SDEProblem(fun, u0, tspan)
1919
integrator = init(prob, ImplicitEM(theta=1); adaptive=false, dt=dt)
20-
W = calc_W(integrator, integrator.cache.nlsolver, dtgamma, #=repeat_step=#false, #=W_transform=#true)
20+
W = calc_W(integrator, integrator.cache.nlsolver, dtgamma, #=repeat_step=#false)
2121
@test convert(AbstractMatrix, W) concrete_W
2222
@test W \ u0 concrete_W \ u0
2323

@@ -29,7 +29,7 @@ using StochasticDiffEq.SciMLOperators: MatrixOperator
2929
prob = SDEProblem(fun, u0, tspan)
3030
integrator = init(prob, ImplicitEM(theta=1); adaptive=false, dt=dt)
3131
W = integrator.cache.nlsolver.cache.W
32-
calc_W!(W, integrator, integrator.cache.nlsolver, integrator.cache, dtgamma, #=repeat_step=#false, #=W_transform=#true)
32+
calc_W!(W, integrator, integrator.cache.nlsolver, integrator.cache, dtgamma, #=repeat_step=#false)
3333

3434
# Did not update because it's an array operator
3535
# We don't want to build Jacobians when we have operators!

0 commit comments

Comments
 (0)