@@ -8,22 +8,22 @@ using Distributions
88@test DiffEqBase. promote_tspan (Real[0 ,1.0 ]) == (0.0 ,1.0 )
99
1010prob = ODEProblem ((u,p,t)-> u,(p,t0)-> p[1 ],(p)-> (0.0 ,p[2 ]),(2.0 ,1.0 ))
11- prob2 = DiffEqBase. get_concrete_problem (prob, nothing )
11+ prob2 = DiffEqBase. get_concrete_problem (prob)
1212
1313@test prob2. u0 == 2.0
1414@test prob2. tspan == (0.0 ,1.0 )
1515
1616prob = ODEProblem ((u,p,t)-> u,(p,t)-> Normal (p,1 ),(0.0 ,1.0 ),1.0 )
17- prob2 = DiffEqBase. get_concrete_problem (prob, nothing )
17+ prob2 = DiffEqBase. get_concrete_problem (prob)
1818@test typeof (prob2. u0) == Float64
1919
2020kwargs (; kw... ) = kw
2121prob = ODEProblem ((u,p,t)-> u,1.0 ,nothing )
22- prob2 = DiffEqBase. get_concrete_problem (prob,kwargs ( tspan= (1.2 ,3.4 ) ))
22+ prob2 = DiffEqBase. get_concrete_problem (prob,tspan= (1.2 ,3.4 ))
2323@test prob2. tspan === (1.2 ,3.4 )
2424
2525prob = ODEProblem ((u,p,t)-> u,nothing ,nothing )
26- prob2 = DiffEqBase. get_concrete_problem (prob,kwargs ( u0= 1.01 ,tspan= (1.2 ,3.4 ) ))
26+ prob2 = DiffEqBase. get_concrete_problem (prob,u0= 1.01 ,tspan= (1.2 ,3.4 ))
2727@test prob2. u0 === 1.01
2828
2929prob = ODEProblem ((u,p,t)-> u,1.0 ,(0 ,1 ))
@@ -34,7 +34,7 @@ prob = ODEProblem((u,p,t)->u,1.0,(0,1))
3434
3535prob = DDEProblem ((u, h, p, t) -> - h (p, t - p[1 ]), (p, t0) -> p[2 ], (p, t) -> 0 ,
3636 (p) -> (0.0 , p[3 ]), (1.0 , 2.0 , 3.0 ); constant_lags = (p) -> [p[1 ]])
37- prob2 = DiffEqBase. get_concrete_problem (prob, nothing )
37+ prob2 = DiffEqBase. get_concrete_problem (prob)
3838
3939@test prob2. u0 == 2.0
4040@test prob2. tspan == (0.0 , 3.0 )
0 commit comments