Changeset 11716 for issm/trunk-jpl/src/c/io/Matlab/FetchMatlabData.cpp
- Timestamp:
- 03/14/12 17:09:20 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/io/Matlab/FetchMatlabData.cpp
r11695 r11716 286 286 /*Check dataref is not pointing to NaN: */ 287 287 if ( mxIsNaN(*(mxGetPr(dataref))) && (mxGetM(dataref)==1) && (mxGetN(dataref)==1) ){ 288 outmatrix= NULL;288 outmatrix=new Matrix(0,0); 289 289 } 290 290 else{ … … 434 434 if(mxIsEmpty(dataref)){ 435 435 /*Nothing to pick up. Just initialize matrix pointer to NULL: */ 436 vector= NULL;436 vector=new Vector(0); 437 437 } 438 438 else if (mxIsClass(dataref,"double") ){
Note:
See TracChangeset
for help on using the changeset viewer.