*** empty log message ***

This commit is contained in:
jiri 2008-03-05 13:49:51 +00:00
parent 687224f7e9
commit 2ea999e96c
3 changed files with 2 additions and 8 deletions

2
mat.h
View File

@ -472,9 +472,7 @@ NRMat<T> & NRMat<T>::operator|=(const NRMat<T> &rhs)
template <typename T>
void NRMat<T>::copyonwrite()
{
#ifdef DEBUG
if (!count) laerror("Mat::copyonwrite of undefined matrix");
#endif
if (*count > 1) {
(*count)--;
count = new int;

4
smat.h
View File

@ -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;

4
vec.h
View File

@ -579,9 +579,7 @@ NRVec<T>::~NRVec()
template <typename T>
void NRVec<T>::copyonwrite()
{
#ifdef DEBUG
if(!count) laerror("probably an assignment to undefined vector");
#endif
if(!count) laerror("Vec::copyonwrite() of an undefined vector");
if(*count > 1)
{
(*count)--;