Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lencheck #188

Open
tmigot opened this issue Jun 21, 2024 · 0 comments
Open

Add lencheck #188

tmigot opened this issue Jun 21, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@tmigot
Copy link
Member

tmigot commented Jun 21, 2024

This will help detect bugs in the NLPModel API

function NLPModels.cons_nln!(nlp::MathOptNLPModel, x::AbstractVector, c::AbstractVector)
  @lencheck nlp.meta.nvar x
  @lencheck nlp.meta.nnln c
  ...
@amontoison amontoison added the enhancement New feature or request label Jun 21, 2024
@tmigot tmigot added the good first issue Good for newcomers label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants