*** empty log message ***

This commit is contained in:
jiri 2008-03-14 15:48:20 +00:00
parent df5a882739
commit 9b60f9ddc0

2
mat.h
View File

@ -57,7 +57,7 @@ public:
const bool operator==(const NRMat &rhs) const {return !(*this != rhs);};
inline int getcount() const {return count?*count:0;}
NRMat & operator=(const NRMat &rhs); //assignment
void clear() {LA_traits<T>::clear((*this)[0],nn*mm);}; //zero out
void clear() {if(nn&&mm) LA_traits<T>::clear((*this)[0],nn*mm);}; //zero out
void randomize(const T &x); //fill with random numbers
NRMat & operator=(const T &a); //assign a to diagonal
NRMat & operator|=(const NRMat &rhs); //assignment to a new copy