Changeset 11733
- Timestamp:
- 03/19/12 20:11:11 (13 years ago)
- Location:
- issm/trunk-jpl/src/c/toolkits
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/toolkits/double/MatlabVectorToDoubleVector.cpp
r11695 r11733 80 80 81 81 /*allocate and memcpy*/ 82 vector=(double*)xmalloc(rows*sizeof(double)); 83 memcpy(vector,mxvector_ptr,rows*sizeof(double)); 82 if(rows){ 83 vector=(double*)xmalloc(rows*sizeof(double)); 84 memcpy(vector,mxvector_ptr,rows*sizeof(double)); 85 } 86 else{ 87 vector=NULL; 88 } 84 89 } 85 90 -
issm/trunk-jpl/src/c/toolkits/toolkits.h
r11695 r11733 22 22 #include "./double/double.h" 23 23 #include "./toolkitsenums.h" 24 #include "./issm/issmtoolkit.h" 24 25 25 26 #endif
Note:
See TracChangeset
for help on using the changeset viewer.