Skip to content

Commit a10cb04

Browse files
Update lib/OptimizationODE/test/runtests.jl
1 parent bcd6f75 commit a10cb04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/OptimizationODE/test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ using LinearAlgebra
4040
f_fail = OptimizationFunction(f, SciMLBase.NoAD())
4141
prob_fail = OptimizationProblem(f_fail, x0)
4242

43-
for opt in (ODEGradientDescent(), RKChebyshevDescent(), RKAccelerated(), HighOrderDescent())
44-
@test_throws ErrorException solve(prob_fail, opt; dt=0.001, maxiters=20_000)
43+
for opt in (ODEGradientDescent(dt=0.001), RKChebyshevDescent(), RKAccelerated(), HighOrderDescent())
44+
@test_throws ErrorException solve(prob_fail, opt; maxiters=20_000)
4545
end
4646

4747
end

0 commit comments

Comments
 (0)