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
All parameters are being treated as matrices (as pointers to array), and or scalar parameters this is causing the parameter value itself to be passed in as the first argument to memcpy instead of a pointer.
The issue can be replicated by running the following script, which generates code for a second-order cone program with a single constraint of the form ||Ax + b|| - c*x - d <= 0
Scalar parameters are not handled properly in the bit of code that copies parameter values in:
All parameters are being treated as matrices (as pointers to array), and or scalar parameters this is causing the parameter value itself to be passed in as the first argument to memcpy instead of a pointer.
The issue can be replicated by running the following script, which generates code for a second-order cone program with a single constraint of the form
||Ax + b|| - c*x - d <= 0
Building the generated example executable works fine, however building the Python extension fails with the following error:
The following change seems to fix the issue:
The text was updated successfully, but these errors were encountered: