diff liboctave/idx-vector.cc @ 942:8fa3c25ab271

[project @ 1994-11-21 18:37:45 by jwe]
author jwe
date Mon, 21 Nov 1994 18:37:45 +0000
parents ba6acc6309ec
children dfe01093f657
line wrap: on
line diff
--- a/liboctave/idx-vector.cc
+++ b/liboctave/idx-vector.cc
@@ -221,12 +221,18 @@
       initialized = 0;
       return;
     }
+#if 0
+// Checking max index against size won't work right here unless we
+// also look at resize on range error, and we have to do that later
+// on anyway.
+
   else if (max_val >= z_len)
     {
       ::error ("%s index %d out of range", rc, max_val+1);
       initialized = 0;
       return;
     }
+#endif
 
   initialized = 1;
 }