Skip to content

Commit 3051b4d

Browse files
committed
Fix format
1 parent b2e5b9c commit 3051b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/nlp.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ end
14131413
function test_user_defined_hessian()
14141414
f(x...) = (1 - x[1])^2 + 100 * (x[2] - x[1]^2)^2
14151415
function ∇f(g, x...)
1416-
g[1] = 400 * x[1]^3 - 400 * x[1] * x[2] + 2 * x[1] -2
1416+
g[1] = 400 * x[1]^3 - 400 * x[1] * x[2] + 2 * x[1] - 2
14171417
g[2] = 200 * (x[2] - x[1]^2)
14181418
return
14191419
end

0 commit comments

Comments
 (0)