Skip to content

Commit 0a64321

Browse files
test typo
1 parent 5d5b16c commit 0a64321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/OptimizationSophia/test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ rosenbrock_comp(x, p = nothing) = (1 - x.a)^2 + 100 * (x.b - x.a^2)^2
7373

7474
optf_sophia = OptimizationFunction(rosenbrock_comp, AutoEnzyme())
7575
prob_sophia = OptimizationProblem(optf_sophia, x0_comp)
76-
res_sophia = solve(prob_sophia, Optimization.Sophia=0.01, k=5), maxiters = 50)
76+
res_sophia = solve(prob_sophia, OptimizationSophia.Sophia=0.01, k=5), maxiters = 50)
7777
@test res_sophia.objective < rosenbrock_comp(x0_comp) # Test optimization progress
7878
@test res_sophia.retcode == Optimization.SciMLBase.ReturnCode.Success

0 commit comments

Comments
 (0)