22 void casadi_getu(
const T1* x,
const casadi_int* sp_x, T1* v) {
23 casadi_int ncol_x, cc, el;
24 const casadi_int *colind_x, *row_x;
27 colind_x = sp_x+2; row_x = sp_x + 2 + ncol_x+1;
29 for (cc=0; cc<ncol_x; ++cc) {
31 for (el=colind_x[cc]; el<colind_x[cc+1] && row_x[el]<=cc; ++el) {