*** empty log message ***
This commit is contained in:
parent
2188e0fa68
commit
ebf23744a2
2
mat.h
2
mat.h
@ -361,7 +361,7 @@ NRMat<T> & NRMat<T>::operator=(const NRMat<T> &rhs)
|
|||||||
nn = rhs.nn;
|
nn = rhs.nn;
|
||||||
mm = rhs.mm;
|
mm = rhs.mm;
|
||||||
count = rhs.count;
|
count = rhs.count;
|
||||||
if (count) (*count)--;
|
if (count) (*count)++;
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
2
t.cc
2
t.cc
@ -25,7 +25,7 @@ void f2(double *c)
|
|||||||
|
|
||||||
inline int randind(const int n)
|
inline int randind(const int n)
|
||||||
{
|
{
|
||||||
return int(random()/(1.+RAND_MAX)*n);
|
return int(random()/(1.+RAND_MAX)*n);
|
||||||
}
|
}
|
||||||
|
|
||||||
complex<double> mycident (const complex<double>&x) {return x;}
|
complex<double> mycident (const complex<double>&x) {return x;}
|
||||||
|
Loading…
Reference in New Issue
Block a user