Skip to content

Commit 63f3599

Browse files
Test the Kantorovich warm handoff
Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
1 parent 5626976 commit 63f3599

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/Core/kantorovich_homotopy_tests__item1.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,12 @@ foldstage_sol = solve(foldprob, foldstage; maxiters = 10)
182182
foldpoly_sol = solve(
183183
foldprob,
184184
HomotopyPolyAlgorithm(
185-
(foldstage, ArcLengthContinuation(; inner = SimpleNewtonRaphson()))
185+
(foldstage, ArcLengthContinuation(; inner = SimpleNewtonRaphson()));
186+
store_original = Val(true)
186187
);
187188
maxiters = 10
188189
)
189190
@test SciMLBase.successful_retcode(foldpoly_sol)
190191
@test foldpoly_sol.u[1] foldtarget atol = 1.0e-4
192+
@test foldpoly_sol.original !== nothing
193+
@test first(foldpoly_sol.original.prob.λspan) > first(foldprob.λspan)

0 commit comments

Comments
 (0)