Skip to content

Commit 3e94722

Browse files
test: test symbolic indexing of HomotopyNonlinearFunction
1 parent 8c5146e commit 3e94722

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/downstream/comprehensive_indexing.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,11 @@ begin
6262
dprob = DiscreteProblem(jsys, u0_vals, tspan, p_vals)
6363
jprob = JumpProblem(jsys, deepcopy(dprob), Direct(); rng)
6464
nprob = NonlinearProblem(nsys, u0_vals, p_vals)
65+
hcprob = NonlinearProblem(HomotopyNonlinearFunction(nprob.f), nprob.u0, nprob.p)
6566
ssprob = SteadyStateProblem(osys, u0_vals, p_vals)
6667
optprob = OptimizationProblem(optsys, u0_vals, p_vals, grad = true, hess = true)
67-
problems = [oprob, sprob, dprob, jprob, nprob, ssprob, optprob]
68-
systems = [osys, ssys, jsys, jsys, nsys, osys, optsys]
68+
problems = [oprob, sprob, dprob, jprob, nprob, hcprob, ssprob, optprob]
69+
systems = [osys, ssys, jsys, jsys, nsys, nsys, osys, optsys]
6970

7071
# Creates an `EnsembleProblem` for each problem.
7172
eoprob = EnsembleProblem(oprob)

0 commit comments

Comments
 (0)