Skip to content

Commit 11821b0

Browse files
🤖 Format .jl files (#133)
Co-authored-by: tmigot <[email protected]>
1 parent 881e167 commit 11821b0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ad.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ function hess_coord!(
242242
vals::AbstractVector,
243243
)
244244
c = get_c(nlp, b)
245-
= x -> c(x)[j - nlp.meta.nlin]
245+
= x -> c(x)[j - nlp.meta.nlin]
246246
Hx = hessian(b, ℓ, x)
247247
k = 1
248248
n = nlp.meta.nvar

src/sparse_hessian.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function hess_coord!(
6464
obj_weight::Real,
6565
vals::AbstractVector,
6666
)
67-
b.y .= 0
67+
b.y .= 0
6868
@eval $(b.cfH)($vals, $x, $(b.y), $obj_weight)
6969
return vals
7070
end

0 commit comments

Comments
 (0)