*** empty log message ***
This commit is contained in:
parent
ec7bcc0fd7
commit
820d92b85f
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user