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
If the number of scaling iteration is set to 0 a segmentation fault occurs when the hessian P or/and the linear constraints matrix A are updated.
You can verify the issue adding the following line here
settings->scaling=0;
I think that the problem is caused to the calling of the scale_data() and unscale_data() methods in the osqp_update_*() functions. In this case it can be easily solved adding an if statement
if(work->settings->scaling){
scale_data(work);
}
The text was updated successfully, but these errors were encountered:
GiulioRomualdi
changed the title
Segmentation fault when turning off scaling in C and the matrices are updated
Segmentation fault when turning off scaling and the matrices are updated
Feb 20, 2018
If the number of scaling iteration is set to
0
a segmentation fault occurs when the hessianP
or/and the linear constraints matrixA
are updated.You can verify the issue adding the following line here
I think that the problem is caused to the calling of the
scale_data()
andunscale_data()
methods in theosqp_update_*()
functions. In this case it can be easily solved adding anif
statementThe text was updated successfully, but these errors were encountered: