diff liboctave/mx-op-defs.h @ 3176:fccab8e7d35f

[project @ 1998-05-18 20:33:31 by jwe]
author jwe
date Mon, 18 May 1998 20:33:42 +0000
parents 3241d0057e78
children 5eef8a2294bd
line wrap: on
line diff
--- a/liboctave/mx-op-defs.h
+++ b/liboctave/mx-op-defs.h
@@ -40,8 +40,6 @@
 #define FBM boolMatrix (1, 1, false)
 #define NBM boolMatrix ()
 
-#if 0
-
 // vector by scalar operations.
 
 #define VS_BIN_OP_DECLS(R, V, S) \
@@ -593,7 +591,7 @@
     { \
       r.resize (m_nr, dm_nc, 0.0); \
  \
-      if (m_nr > 0 && m_nc > 0 && dm_nc == 0) \
+      if (m_nr > 0 && m_nc > 0 && dm_nc > 0) \
 	{ \
 	  for (int j = 0; j < dm.length (); j++) \
 	    { \
@@ -751,8 +749,6 @@
 #define DMDM_OP_DECLS(R, DM1, DM2) \
   DMDM_BIN_OP_DECLS (R, DM1, DM2)
 
-#endif
-
 /*
 ;;; Local Variables: ***
 ;;; mode: C++ ***