Mercurial > hg > octave-nkf
diff liboctave/boolNDArray.cc @ 5073:e71be9c548f2
[project @ 2004-11-09 18:31:25 by jwe]
author | jwe |
---|---|
date | Tue, 09 Nov 2004 18:31:26 +0000 |
parents | 269c3d6c0569 |
children | e35b034d3523 |
line wrap: on
line diff
--- a/liboctave/boolNDArray.cc +++ b/liboctave/boolNDArray.cc @@ -62,12 +62,11 @@ } boolNDArray -concat (const boolNDArray& ra, const boolNDArray& rb, const Array<int>& ra_idx) +boolNDArray::concat (const boolNDArray& rb, const Array<int>& ra_idx) { - boolNDArray retval (ra); if (rb.numel () > 0) - retval.insert (rb, ra_idx); - return retval; + insert (rb, ra_idx); + return *this; } boolNDArray&