Mercurial > hg > octave-lyh
changeset 889:a962376eac74
[project @ 1994-11-08 02:21:29 by jwe]
author | jwe |
---|---|
date | Tue, 08 Nov 1994 02:22:18 +0000 |
parents | f514646473c7 |
children | 2bd199f3f865 |
files | liboctave/CMatrix.cc liboctave/dColVector.cc |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/CMatrix.cc +++ b/liboctave/CMatrix.cc @@ -1529,7 +1529,7 @@ { (*current_liboctave_error_handler) ("nonconformant matrix += operation attempted"); - return ComplexMatrix (); + return *this; } for (int i = 0; i < a.length (); i++) @@ -1547,7 +1547,7 @@ { (*current_liboctave_error_handler) ("nonconformant matrix -= operation attempted"); - return ComplexMatrix (); + return *this; } for (int i = 0; i < a.length (); i++) @@ -1565,7 +1565,7 @@ { (*current_liboctave_error_handler) ("nonconformant matrix += operation attempted"); - return ComplexMatrix (); + return *this; } for (int i = 0; i < a.length (); i++) @@ -1583,7 +1583,7 @@ { (*current_liboctave_error_handler) ("nonconformant matrix -= operation attempted"); - return ComplexMatrix (); + return *this; } for (int i = 0; i < a.length (); i++)
--- a/liboctave/dColVector.cc +++ b/liboctave/dColVector.cc @@ -201,7 +201,7 @@ { (*current_liboctave_error_handler) ("nonconformant vector += operation attempted"); - return ColumnVector (); + *this; } if (len == 0) @@ -221,7 +221,7 @@ { (*current_liboctave_error_handler) ("nonconformant vector -= operation attempted"); - return ColumnVector (); + return *this; } if (len == 0)