Changeset 815 in Sophya for trunk/SophyaPI/PIext
- Timestamp:
- Apr 5, 2000, 5:46:05 PM (25 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nomskymapadapter.cc
r810 r815 173 173 int_4 nl = mtx.NRows(); 174 174 int_4 nc = mtx.NCols(); 175 mtx .DataBlock().Reset(defval); // On met tout a defval175 mtx = defval; // On met tout a defval 176 176 // cout << " NRows= " << nl << " NCols= " << nc << endl; 177 177 for(l=0; l<nl; l++) { -
trunk/SophyaPI/PIext/pawexecut.cc
r810 r815 145 145 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; ob->Zero();} 146 146 #else 147 if(typeid(*mobj)==typeid(Vector)) {Vector* ob=(Vector*) mobj; ob->DataBlock().Reset(0.);} 148 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; ob->DataBlock().Reset(0.);} 147 if(typeid(*mobj)==typeid(Vector)) {Vector* ob=(Vector*) mobj; (*ob) = 0.; } 148 // ob->DataBlock().Reset(0.);} 149 else if(typeid(*mobj)==typeid(Matrix)) {Matrix* ob=(Matrix*) mobj; (*ob) = 0.; } 150 //ob->DataBlock().Reset(0.);} 149 151 #endif 150 152 else if(typeid(*mobj)==typeid(Histo)) {Histo* ob=(Histo*) mobj; ob->Zero();}
Note:
See TracChangeset
for help on using the changeset viewer.