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

Expose the nnzJ argument in KN_set_cb_grad. #226

Merged
merged 2 commits into from
Jul 20, 2022
Merged

Conversation

cgeoga
Copy link
Contributor

@cgeoga cgeoga commented Jul 18, 2022

Exposing the nnzJ argument in KN_set_cb_grad. It was set to KNLONG(0) manually inside the function in the current version so I made that the default value, and instead of adding the type constraint nnzJ::KNLONG I just force it to be ::Integer and then add a safety conversion in the actual library call at the end of the function. Please let me know if some other method is preferable.

Copy link
Collaborator

@frapac frapac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@frapac frapac merged commit f61bed3 into jump-dev:master Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants