source:
issm/oecreview/Archive/16554-17801/ISSM-16770-16771.diff@
17802
Last change on this file since 17802 was 17802, checked in by , 11 years ago | |
---|---|
File size: 912 bytes |
-
../trunk-jpl/src/c/classes/IoModel.cpp
1202 1202 1203 1203 /*output: */ 1204 1204 int* vector=NULL; 1205 int num1206 1205 1207 1206 /*intermediary: */ 1208 int M, N; 1209 IssmPDouble *pmatrix = NULL; 1210 IssmDouble *matrix = NULL; 1207 int integer; 1211 1208 int *codes = NULL; 1212 1209 int code; 1213 1210 … … 1424 1421 /*this data has already been checked out! So cancel all that we've done here, and return 1425 1422 * the data[data_enum] directly: */ 1426 1423 matrix=this->data[data_enum]; 1427 for (int i=0;i<M*N;++i) integer_matrix matrix[i]=reCast<int>(matrix[i]);1424 for (int i=0;i<M*N;++i) integer_matrix[i]=reCast<int>(matrix[i]); 1428 1425 } 1429 1426 else{ 1430 1427 for (int i=0;i<M*N;++i) integer_matrix[i]=pmatrix[i];
Note:
See TracBrowser
for help on using the repository browser.