Changeset 11694
- Timestamp:
- 03/13/12 19:29:55 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Alloc/alloc.cpp
r11693 r11694 88 88 * free in parallel: */ 89 89 delete *pv; 90 #else 91 /*Actually, still get rid of internal Petsc matrix. Quick fix until Matlab handles C++ 92 * correctly: */ 93 MatFree(&(*pv)->matrix); 90 94 #endif 91 95 *pv=NULL; … … 101 105 * free in parallel: */ 102 106 delete *pv; 107 #else 108 /*Actually, still get rid of internal Petsc vector. Quick fix until Matlab handles C++ 109 * correctly: */ 110 VecFree(&(*pv)->vector); 103 111 #endif 104 112 *pv=NULL;
Note:
See TracChangeset
for help on using the changeset viewer.