Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/utility_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using StochasticDiffEq, LinearAlgebra, SparseArrays, Random, LinearSolve, Test
using StochasticDiffEq.OrdinaryDiffEq: WOperator, calc_W!
using StochasticDiffEq.OrdinaryDiffEq: WOperator, calc_W!, calc_W
using StochasticDiffEq.SciMLOperators: MatrixOperator

@testset "Derivative Utilities" begin
Expand All @@ -17,7 +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 = calc_W(integrator, integrator.cache.nlsolver, integrator.cache, dtgamma, false)
W = calc_W(integrator, integrator.cache.nlsolver, dtgamma, false)
@test convert(AbstractMatrix, W) ≈ concrete_W
@test W \ u0 ≈ concrete_W \ u0

Expand Down
Loading