Skip to content

Conversation

@victorfors
Copy link
Contributor

@victorfors victorfors commented May 10, 2023

Closes #3169

Changes local variable arrays in casadi_cvx to work vectors supplied to the function call. Avoids buffer overflow if the required array is too large.

This pull requests appears to break backward compatibility to load code generated with casadi 3.5.5 I assume this is because the work vectors in the code generated with casadi 3.5.5 is not of suitable size for the changes to casadi_cvx.

It also includes a test that still fails, code generation with main when calling convexify on a large strongly connected matrix (stack overflow?).

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.

Runtime errors because of fixed length vectors in casadi_cvx.hpp

1 participant