diff liboctave/MArray2.cc @ 4646:eff8f977508c

[project @ 2003-11-23 18:13:19 by jwe]
author jwe
date Sun, 23 Nov 2003 18:13:19 +0000
parents 5719210fff4c
children 334a27c8f453
line wrap: on
line diff
--- a/liboctave/MArray2.cc	Sun Nov 23 08:07:53 2003 +0000
+++ b/liboctave/MArray2.cc	Sun Nov 23 18:13:19 2003 +0000
@@ -41,7 +41,7 @@
 MArray2<T>&
 operator += (MArray2<T>& a, const T& s)
 {
-  DO_VS_OP2 (+=)
+  DO_VS_OP2 (T, a, +=, s)
   return a;
 }
 
@@ -49,7 +49,7 @@
 MArray2<T>&
 operator -= (MArray2<T>& a, const T& s)
 {
-  DO_VS_OP2 (-=)
+  DO_VS_OP2 (T, a, -=, s)
   return a;
 }
 
@@ -70,7 +70,7 @@
       if (r > 0 && c > 0)
 	{
 	  int l = a.length ();
-	  DO_VV_OP2 (+=);
+	  DO_VV_OP2 (T, a, +=, b);
 	}
     }
   return a;
@@ -91,7 +91,7 @@
       if (r > 0 && c > 0)
 	{
 	  int l = a.length ();
-	  DO_VV_OP2 (-=);
+	  DO_VV_OP2 (T, a, -=, b);
 	}
     }
   return a;