source: issm/oecreview/Archive/16554-17801/ISSM-16770-16771.diff@ 17802

Last change on this file since 17802 was 17802, checked in by Mathieu Morlighem, 11 years ago

Added archives

File size: 912 bytes
  • ../trunk-jpl/src/c/classes/IoModel.cpp

     
    12021202
    12031203        /*output: */
    12041204        int* vector=NULL;
    1205         int num
    12061205
    12071206        /*intermediary: */
    1208         int          M, N;
    1209         IssmPDouble *pmatrix = NULL;
    1210         IssmDouble  *matrix  = NULL;
     1207        int          integer;
    12111208        int         *codes   = NULL;
    12121209        int          code;
    12131210
     
    14241421                                        /*this data has already been checked out! So cancel all that we've done here, and return
    14251422                                         * the data[data_enum] directly: */
    14261423                                        matrix=this->data[data_enum];
    1427                                         for (int i=0;i<M*N;++i) integer_matrixmatrix[i]=reCast<int>(matrix[i]);
     1424                                        for (int i=0;i<M*N;++i) integer_matrix[i]=reCast<int>(matrix[i]);
    14281425                                }
    14291426                                else{
    14301427                                        for (int i=0;i<M*N;++i) integer_matrix[i]=pmatrix[i];
Note: See TracBrowser for help on using the repository browser.