diff liboctave/CMatrix.cc @ 889:a962376eac74

[project @ 1994-11-08 02:21:29 by jwe]
author jwe
date Tue, 08 Nov 1994 02:22:18 +0000
parents 714fd17fca28
children 9e6bdfdfcf86
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++)