*** empty log message ***
This commit is contained in:
4
smat.h
4
smat.h
@@ -468,9 +468,7 @@ NRSMat<T> & NRSMat<T>::operator=(const NRSMat<T> & rhs)
|
||||
template <typename T>
|
||||
void NRSMat<T>::copyonwrite()
|
||||
{
|
||||
#ifdef DEBUG
|
||||
if (!count) laerror("probably an assignment to undefined Smat");
|
||||
#endif
|
||||
if (!count) laerror("SMat::copyonwrite() of undefined Smat");
|
||||
if (*count > 1) {
|
||||
(*count)--;
|
||||
count = new int;
|
||||
|
||||
Reference in New Issue
Block a user