@@ -8,22 +8,22 @@ using Distributions
8
8
@test DiffEqBase. promote_tspan (Real[0 ,1.0 ]) == (0.0 ,1.0 )
9
9
10
10
prob = 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)
12
12
13
13
@test prob2. u0 == 2.0
14
14
@test prob2. tspan == (0.0 ,1.0 )
15
15
16
16
prob = 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)
18
18
@test typeof (prob2. u0) == Float64
19
19
20
20
kwargs (; kw... ) = kw
21
21
prob = 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 ))
23
23
@test prob2. tspan === (1.2 ,3.4 )
24
24
25
25
prob = 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 ))
27
27
@test prob2. u0 === 1.01
28
28
29
29
prob = ODEProblem ((u,p,t)-> u,1.0 ,(0 ,1 ))
@@ -34,7 +34,7 @@ prob = ODEProblem((u,p,t)->u,1.0,(0,1))
34
34
35
35
prob = DDEProblem ((u, h, p, t) -> - h (p, t - p[1 ]), (p, t0) -> p[2 ], (p, t) -> 0 ,
36
36
(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)
38
38
39
39
@test prob2. u0 == 2.0
40
40
@test prob2. tspan == (0.0 , 3.0 )
0 commit comments