File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ vern_sol = solve(prob, Vern7())
21
21
end
22
22
23
23
@testset " Rosenbrock Solution Stripping" begin
24
- @test isnothing ( SciMLBase. strip_solution (rosenbrock_sol). prob)
25
- @test isnothing (SciMLBase. strip_solution (rosenbrock_sol). alg)
24
+ @test SciMLBase. strip_solution (rosenbrock_sol). prob. f isa SciMLBase . NullODEFunction
25
+ @test isnothing (SciMLBase. strip_solution (rosenbrock_sol, strip_alg = true ). alg)
26
26
@test isnothing (SciMLBase. strip_solution (rosenbrock_sol). interp. f)
27
27
@test isnothing (SciMLBase. strip_solution (rosenbrock_sol). interp. cache. jac_config)
28
28
@test isnothing (SciMLBase. strip_solution (rosenbrock_sol). interp. cache. grad_config)
31
31
end
32
32
33
33
@testset " TRBDF Solution Stripping" begin
34
- @test isnothing ( SciMLBase. strip_solution (TRBDF_sol). prob)
35
- @test isnothing (SciMLBase. strip_solution (TRBDF_sol). alg)
34
+ @test SciMLBase. strip_solution (TRBDF_sol). prob. f isa SciMLBase . NullODEFunction
35
+ @test isnothing (SciMLBase. strip_solution (TRBDF_sol, strip_alg = true ). alg)
36
36
@test isnothing (SciMLBase. strip_solution (TRBDF_sol). interp. f)
37
37
@test isnothing (SciMLBase. strip_solution (TRBDF_sol). interp. cache. nlsolver)
38
38
end
You can’t perform that action at this time.
0 commit comments