From 820d92b85f0d196a002bcdd959a76b5c6b827eb4 Mon Sep 17 00:00:00 2001 From: jiri Date: Thu, 2 Jun 2011 14:42:07 +0000 Subject: [PATCH] *** empty log message *** --- mat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mat.cc b/mat.cc index c8084ac..210d77d 100644 --- a/mat.cc +++ b/mat.cc @@ -50,7 +50,7 @@ const NRMat NRMat::oplus(const NRMat &rhs) const { SAME_LOC(*this, rhs); NRMat ret(nn + rhs.nn, mm + rhs.mm, getlocation()); - ret = 0; + ret.clear(); ret.storesubmatrix(0, 0, *this); ret.storesubmatrix(nn, mm, rhs); return ret;