You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the generated .c file we get the correct work vector size
CASADI_SYMBOL_EXPORTintfun_work(casadi_int*sz_arg, casadi_int*sz_res, casadi_int*sz_iw, casadi_int*sz_w) {
if (sz_arg) *sz_arg=1;
if (sz_res) *sz_res=1;
if (sz_iw) *sz_iw=0;
if (sz_w) *sz_w=0;
return0;
}
However for the .h file we get
#definefun_SZ_W 1
NOTE: When using the code generation option {"avoid_stack": True} we get the same work vector size for both the .c and .h file.
The text was updated successfully, but these errors were encountered:
For the generated code there is a discrepancy between the work vector size (sz_w) between the .h file and .c file.
Example:
For the generated .c file we get the correct work vector size
However for the .h file we get
NOTE: When using the code generation option
{"avoid_stack": True}
we get the same work vector size for both the .c and .h file.The text was updated successfully, but these errors were encountered: