Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Nov 29, 2023
1 parent b044be8 commit 3082d5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/nlp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ function KnitroSolver(
jlrows, jlcols = jac_lin_structure(nlp)
for klin = 1:(nlp.meta.lin_nnzj)
row = nlp.meta.lin[jlrows[klin]]
KNITRO.KN_add_con_linear_struct_one(kc, 1, row - 1, Cint[jlcols[klin] - 1], Cdouble[jlvals[klin]])
KNITRO.KN_add_con_linear_struct_one(
kc,
1,
row - 1,
Cint[jlcols[klin] - 1],
Cdouble[jlvals[klin]],
)
end
end

Expand Down

0 comments on commit 3082d5f

Please sign in to comment.