Skip to content

Commit 70018e5

Browse files
committed
Fix format
1 parent 70a961e commit 70018e5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

perf/opf/opf.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ MOI.initialize(evaluator, [:Grad, :Jac, :Hess])
2525

2626
H_struct = MOI.hessian_lagrangian_structure(evaluator)
2727
H = zeros(length(H_struct))
28-
mu = rand(m)
29-
sigma = 0.0
30-
x_v = rand(n)
31-
@time MOI.eval_hessian_lagrangian(evaluator, H, x_v, sigma, mu)
28+
μ = rand(m)
29+
σ = 0.0
30+
v = rand(n)
31+
@time MOI.eval_hessian_lagrangian(evaluator, H, v, σ, μ)
3232

3333
using BenchmarkTools
34-
@benchmark MOI.eval_hessian_lagrangian($evaluator, $H, $x_v, $sigma, $mu) seconds = 100
34+
@benchmark MOI.eval_hessian_lagrangian($evaluator, $H, $v, $σ, $μ) seconds = 100

0 commit comments

Comments
 (0)