diff liboctave/MArray.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/MArray.cc
+++ b/liboctave/MArray.cc
@@ -41,7 +41,7 @@
 MArray<T>&
 operator += (MArray<T>& a, const T& s)
 {
-  DO_VS_OP2 (+=)
+  DO_VS_OP2 (T, a, +=, s)
   return a;
 }
 
@@ -49,7 +49,7 @@
 MArray<T>&
 operator -= (MArray<T>& a, const T& s)
 {
-  DO_VS_OP2 (-=)
+  DO_VS_OP2 (T, a, -=, s)
   return a;
 }
 
@@ -66,7 +66,7 @@
       if (l != bl)
 	gripe_nonconformant ("operator +=", l, bl);
       else
-	DO_VV_OP2 (+=);
+	DO_VV_OP2 (T, a, +=, b);
     }
   return a;
 }
@@ -82,7 +82,7 @@
       if (l != bl)
 	gripe_nonconformant ("operator -=", l, bl);
       else
-	DO_VV_OP2 (-=);
+	DO_VV_OP2 (T, a, -=, b);
     }
   return a;
 }