*** empty log message ***
This commit is contained in:
2
mat.cc
2
mat.cc
@@ -50,7 +50,7 @@ const NRMat<T> NRMat<T>::oplus(const NRMat<T> &rhs) const {
|
|||||||
SAME_LOC(*this, rhs);
|
SAME_LOC(*this, rhs);
|
||||||
NRMat<T> ret(nn + rhs.nn, mm + rhs.mm, getlocation());
|
NRMat<T> ret(nn + rhs.nn, mm + rhs.mm, getlocation());
|
||||||
|
|
||||||
ret = 0;
|
ret.clear();
|
||||||
ret.storesubmatrix(0, 0, *this);
|
ret.storesubmatrix(0, 0, *this);
|
||||||
ret.storesubmatrix(nn, mm, rhs);
|
ret.storesubmatrix(nn, mm, rhs);
|
||||||
return ret;
|
return ret;
|
||||||
|
|||||||
Reference in New Issue
Block a user