Skip to content

Commit 86a8d14

Browse files
committed
format
1 parent 06fd9e4 commit 86a8d14

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/OptimizationOptimisers/test/runtests.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,15 @@ using Test
1818
sol = solve(prob, Optimisers.ADAM(), maxiters = 1000, progress = false)
1919
@test 10 * sol.minimum < l1
2020

21-
x0 = 2*ones(ComplexF64, 2)
21+
x0 = 2 * ones(ComplexF64, 2)
2222
_p = ones(2)
2323
sumfunc(x0, _p) = sum(abs2, (x0 - _p))
2424
l1 = sumfunc(x0, _p)
2525

2626
optprob = OptimizationFunction(sumfunc, Optimization.AutoZygote())
27-
prob = OptimizationProblem(optprob, x0,_p)
27+
28+
prob = OptimizationProblem(optprob, x0, _p)
29+
2830
sol = solve(prob, Optimisers.ADAM(), maxiters = 1000)
2931
@test 10 * sol.minimum < l1
3032
end

0 commit comments

Comments
 (0)