Changeset 996 in Sophya for trunk/SophyaLib/TArray
- Timestamp:
- May 2, 2000, 5:49:29 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/TArray/tmatrix.cc
r976 r996 1 // $Id: tmatrix.cc,v 1.1 1 2000-04-27 17:53:51ansari Exp $1 // $Id: tmatrix.cc,v 1.12 2000-05-02 15:49:29 ansari Exp $ 2 2 // C.Magneville 04/99 3 3 #include "machdefs.h" … … 267 267 if (NRows() != NCols()) 268 268 throw SzMismatchError("TMatrix::operator= (IdentityMatrix) NRows() != NCols()") ; 269 *this = (T) 0; 269 270 for(uint_4 i=0; i<NRows(); i++) (*this)(i,i) = diag; 270 271
Note:
See TracChangeset
for help on using the changeset viewer.