Skip to content

Conversation

@msakai
Copy link
Contributor

@msakai msakai commented Jun 22, 2023

The second option to resolve #36

…ns non-zero value

Currently, lbfgs() returns the value returned by the callback function
in such cases. But this behavior is undocumented and it may lead
lbfgs() to return a value that is not a pre-defined status code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Non-zero return value of a callback function is used as a return value of lbfgs()

1 participant