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	Mon Nov 07 05:22:06 1994 +0000
+++ b/liboctave/CMatrix.cc	Tue Nov 08 02:22:18 1994 +0000
@@ -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	Mon Nov 07 05:22:06 1994 +0000
+++ b/liboctave/dColVector.cc	Tue Nov 08 02:22:18 1994 +0000
@@ -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)