Skip to content

Commit

Permalink
don't try to use calc_W! on out of place SDE.
Browse files Browse the repository at this point in the history
How did this ever work correctly?
  • Loading branch information
oscardssmith authored Jul 25, 2024
1 parent 4af4ab8 commit 8129a71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/utility_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ using StochasticDiffEq.SciMLOperators: MatrixOperator
jac=(u,p,t) -> A)
prob = SDEProblem(fun, u0, tspan)
integrator = init(prob, ImplicitEM(theta=1); adaptive=false, dt=dt)
W = integrator.cache.nlsolver.cache.W
calc_W!(W, integrator, integrator.cache.nlsolver, integrator.cache, dtgamma, false)
W = calc_W(integrator, integrator.cache.nlsolver, integrator.cache, dtgamma, false)
@test convert(AbstractMatrix, W) concrete_W
@test W \ u0 concrete_W \ u0

Expand Down

0 comments on commit 8129a71

Please sign in to comment.