source: issm/oecreview/Archive/12061-12080/ISSM-12067-12068.diff@ 12325

Last change on this file since 12325 was 12325, checked in by Eric.Larour, 13 years ago

11990 to 12321 oec compliance

File size: 600 bytes
  • proj/ice/larour/issm-uci-clean/trunk-jpl/src/modules/Chaco/Chaco.cpp

     
    5353        /*Fetch adjacency matrix: */
    5454        nvtxs = mxGetN(A_IN);
    5555        mwstart = mxGetJc(A_IN);
    56         start=(int*)xmalloc(nvtxs*sizeof(int));
     56        start=(int*)xmalloc((nvtxs+1)*sizeof(int));
    5757        for (i=0; i<nvtxs+1;i++)start[i]=(int)mwstart[i];
    5858
    5959        mwadjacency = mxGetIr(A_IN);
Note: See TracBrowser for help on using the repository browser.