@@ -13,11 +13,12 @@ using OrdinaryDiffEq, Sundials, SciMLBase, Test
1313 oopfn = ODEFunction {false} (rhs, mass_matrix = [1 0 ; 0 0 ])
1414 iipfn = ODEFunction {true} (rhs!, mass_matrix = [1 0 ; 0 0 ])
1515
16+ abstol = 1e-10
1617 @testset " Inplace = $(SciMLBase. isinplace (f)) " for f in [oopfn, iipfn]
1718 prob = ODEProblem (f, [1.0 , 1.0 ], (0.0 , 1.0 ))
1819 integ = init (prob, Sundials. ARKODE ())
1920 u0, _, success = SciMLBase. get_initial_values (
20- prob, integ, f, SciMLBase. CheckInit (), Val (SciMLBase. isinplace (f)))
21+ prob, integ, f, SciMLBase. CheckInit (), Val (SciMLBase. isinplace (f)); abstol )
2122 @test success
2223 @test u0 == prob. u0
2324
@@ -43,7 +44,7 @@ using OrdinaryDiffEq, Sundials, SciMLBase, Test
4344 prob = DAEProblem (f, [1.0 , 0.0 ], [1.0 , 1.0 ], (0.0 , 1.0 ), 1.0 )
4445 integ = init (prob, Sundials. IDA ())
4546 u0, _, success = SciMLBase. get_initial_values (
46- prob, integ, f, SciMLBase. CheckInit (), Val (SciMLBase. isinplace (f)))
47+ prob, integ, f, SciMLBase. CheckInit (), Val (SciMLBase. isinplace (f)); abstol )
4748 @test success
4849 @test u0 == prob. u0
4950
0 commit comments