Changeset 11730
- Timestamp:
- 03/19/12 20:09:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/shared/Alloc/alloc.cpp
r11705 r11730 91 91 /*Actually, still get rid of internal Petsc matrix. Quick fix until Matlab handles C++ 92 92 * correctly: */ 93 MatFree(&(*pv)->matrix); 93 #ifdef _HAVE_PETSC_ 94 MatFree(&(*pv)->matrix); 95 #endif 94 96 #endif 95 97 *pv=NULL; … … 108 110 /*Actually, still get rid of internal Petsc vector. Quick fix until Matlab handles C++ 109 111 * correctly: */ 110 VecFree(&(*pv)->vector); 112 #ifdef _HAVE_PETSC_ 113 VecFree(&(*pv)->vector); 114 #endif 111 115 #endif 112 116 *pv=NULL;
Note:
See TracChangeset
for help on using the changeset viewer.