NLPModels.jl icon indicating copy to clipboard operation
NLPModels.jl copied to clipboard

jac_lin_coord doesn't need to know x

Open dpo opened this issue 3 years ago • 0 comments

There's no need to pass x to jac_lin_coord() since the result is independent of x.

EDIT (@tmigot)

ToDo is to replace jac_lin_coord(nlp, x) by jac_lin_coord(nlp) and jac_lin_coord!(nlp, x, vals) by jac_lin_coord!(nlp, vals).

dpo avatar May 20 '22 21:05 dpo