source:
issm/oecreview/Archive/11718-11730/ISSM-11729-11730.diff
Last change on this file was 11991, checked in by , 13 years ago | |
---|---|
File size: 850 bytes |
-
proj/ice/larour/issm-uci-clean/trunk-jpl/src/c/shared/Alloc/alloc.cpp
90 90 #else 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); 94 95 #endif 96 #endif 95 97 *pv=NULL; 96 98 } 97 99 } … … 107 109 #else 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); 111 114 #endif 115 #endif 112 116 *pv=NULL; 113 117 } 114 118 }
Note:
See TracBrowser
for help on using the repository browser.