Changeset 19572


Ignore:
Timestamp:
09/21/15 15:51:45 (10 years ago)
Author:
Eric.Larour
Message:

CHG: fixed serious bug in the splitting of cells

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/shared/Matrix/MatrixUtils.cpp

    r19563 r19572  
    621621        for(int j=0;j<i;j++)newcell[j]=cell[j];
    622622        newcell[i]=scale*cell[i];
    623         newcell[i+1]=scale* cell[i]/2;
     623        newcell[i+1]=scale* cell[i];
    624624        for(int j=i+2;j<m+1;j++)newcell[j]=cell[j-1];
    625625       
     
    648648        for(int i=0;i<m;i++){
    649649                _printf_(i << ": ");
    650                 for (int j=0;j<numcells;j++)_printf_(celllist[j][i] << " ");
     650                for (int j=0;j<numcells;j++)_printf_(setprecision(10) << celllist[j][i] << " ");
    651651                _printf_("\n");
    652652        }
Note: See TracChangeset for help on using the changeset viewer.