Changeset 12558
- Timestamp:
- 06/26/12 11:25:38 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/objects/Numerics/Matrix.cpp
r12520 r12558 58 58 #endif 59 59 #ifdef _HAVE_ADOLC_ 60 this->amatrix=xNew<IssmDouble>;60 this->amatrix=xNew<IssmDouble>(M*N); 61 61 #endif 62 62 } … … 131 131 /*Not sure about that one. Should we use the overloaded operator >>?*/ 132 132 _printString_("ADOLC Matrix equivalent:" ); 133 for(i=0;i<M;i++){134 for(j=0;j<N;j++){135 _printString_(*(amatrix+N*i+j) << " ");136 }137 _printLine_("");138 }133 // for(i=0;i<M;i++){ 134 // for(j=0;j<N;j++){ 135 // _printString_(*(amatrix+N*i+j) << " "); 136 // } 137 // _printLine_(""); 138 // } 139 139 #endif 140 140 }
Note:
See TracChangeset
for help on using the changeset viewer.