diff liboctave/Array-util.cc @ 5519:20b20fd070b0

[project @ 2005-10-29 04:31:25 by jwe]
author jwe
date Sat, 29 Oct 2005 04:31:25 +0000
parents 4c8a2e4e0717
children 4b33d802ef3c
line wrap: on
line diff
--- a/liboctave/Array-util.cc	Sat Oct 29 04:28:23 2005 +0000
+++ b/liboctave/Array-util.cc	Sat Oct 29 04:31:25 2005 +0000
@@ -219,15 +219,15 @@
 }
 
 bool
-vector_equivalent (const Array<octave_idx_type>& ra_idx)
+vector_equivalent (const dim_vector& dv)
 {
-  octave_idx_type n = ra_idx.length ();
+  int n = dv.length ();
 
   bool found_first = false;
 
-  for (octave_idx_type i = 0; i < n; i++)
+  for (int i = 0; i < n; i++)
     {
-      if (ra_idx(i) != 1)
+      if (dv(i) != 1)
         {
 	  if (! found_first)
 	    found_first = true;