Changeset 281
- Timestamp:
- 05/06/09 16:27:20 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/SerialFetchData.cpp
r214 r281 67 67 } 68 68 else if (strcmp(data_type,"Matrix")==0){ 69 69 70 if(mxIsEmpty(mxdata) ){ 70 71 /*Nothing to pick up. Just initialize matrix pointer to NULL: */ … … 77 78 78 79 /*Check mxdata is not pointing to NaN: */ 79 if ( mxIsNaN(*(mxGetPr(mxdata)))){80 if ( mxIsNaN(*(mxGetPr(mxdata))) && (mxGetM(mxdata)==1) && (mxGetN(mxdata)==1) ){ 80 81 outmatrix_rows=0; 81 82 outmatrix_cols=0;
Note:
See TracChangeset
for help on using the changeset viewer.