From 1443a30b0a8f822251f07917cae92d227bb24346 Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Thu, 25 Jul 2024 12:34:42 -0400 Subject: [PATCH 1/2] fix direct push I accidentally pushed to main, and forgot to import `calc_W`, so CI is now failing. This PR should fix the CI. --- test/utility_tests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utility_tests.jl b/test/utility_tests.jl index 77985858..8bb4e3bc 100644 --- a/test/utility_tests.jl +++ b/test/utility_tests.jl @@ -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 From 06ecdf2ae8f7ce8c9c811f17fafafabe21f0715f Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Thu, 25 Jul 2024 13:56:52 -0400 Subject: [PATCH 2/2] fix --- test/utility_tests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utility_tests.jl b/test/utility_tests.jl index 8bb4e3bc..51b32aa1 100644 --- a/test/utility_tests.jl +++ b/test/utility_tests.jl @@ -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