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?
to your account
Callback is supposed to be high-level interface to FunctionInternal. Working with work vectors is error prone and should reasonably be removed from any high-level interface.
The following methods are low-level and would be removed:
virtual int eval(const double**, double**, casadi_int*, double*, void*) const;
This would also resolve the current problematic infinite loop for CallbackInternal::eval and CallbackInternal::eval_dm (haven't looked deep into this, but the design doesn't look clean).
The text was updated successfully, but these errors were encountered:
Issue #2271 Removed dead code in Callback
Issue #2271 Added FunctionInternal::has_eval_dm
Avoids infinite loops
Successfully merging a pull request may close this issue.