-
Notifications
You must be signed in to change notification settings - Fork 42
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 data pointer (C layer only) #86
Conversation
Hi @jschueller Julien, I agree that it will be useful. It sounds like the C version of "user defined
Thanks |
|
all good |
What about
where
Do we still run the C and Fortran examples? Or they have been renamed to Thanks. |
|
So we will not be informed by the test if there is a discrepancy between |
we check at the end that the evaluation number is ok |
If it is not always supported, we should not use it in the production code, but maybe ok for a test ... |
It is here, |
yes |
In the C layer it can be useful to be able to reach user data from the objective function callback, this adds an extra pointer argument that is passed to the objective callback.
In the C layer it can be useful to be able to reach user data from
the objective function callback, this adds an extra pointer argument
that is re-passed through the objective callback.