Ticket #13234: 01-adjust-size-of-input-matrix-fix.patch

File 01-adjust-size-of-input-matrix-fix.patch, 562 bytes (added by novoselt, 9 years ago)

For reviewing only

  • Singular/normaliz.lib

    a b  
    13711374
    13721375    //adjust size of input matrix
    13731376    if (!last_comp) { // remove last component
    1374         intmat tmp = expo_vecs[1..nrows(expo_vecs),1..(ncols(expo_vecs)-1)];
     1377        intmat tmp[nrows(expo_vecs)][ncols(expo_vecs)-1]
     1378               = expo_vecs[1..nrows(expo_vecs),1..(ncols(expo_vecs)-1)];
    13751379        expo_vecs = tmp;
    13761380    }
    13771381    intmat nmz_data=runNormaliz(expo_vecs,nmz_mode,prepareGrading(#));