From ebf23744a2ab305991f5bf93d8cb1ea41499982a Mon Sep 17 00:00:00 2001 From: jiri Date: Wed, 24 Mar 2004 16:25:47 +0000 Subject: [PATCH] *** empty log message *** --- mat.h | 2 +- t.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mat.h b/mat.h index 631e1aa..c808c9d 100644 --- a/mat.h +++ b/mat.h @@ -361,7 +361,7 @@ NRMat & NRMat::operator=(const NRMat &rhs) nn = rhs.nn; mm = rhs.mm; count = rhs.count; - if (count) (*count)--; + if (count) (*count)++; } return *this; } diff --git a/t.cc b/t.cc index 1e6d372..5504ec9 100644 --- a/t.cc +++ b/t.cc @@ -25,7 +25,7 @@ void f2(double *c) inline int randind(const int n) { -return int(random()/(1.+RAND_MAX)*n); + return int(random()/(1.+RAND_MAX)*n); } complex mycident (const complex&x) {return x;}