diff liboctave/Array.cc @ 4738:c9e5b9fa7b17

[project @ 2004-02-05 18:42:58 by jwe]
author jwe
date Thu, 05 Feb 2004 18:42:58 +0000
parents 108c9a93196d
children 65f30438c2a3
line wrap: on
line diff
--- a/liboctave/Array.cc
+++ b/liboctave/Array.cc
@@ -2060,8 +2060,8 @@
 
 	      retval.resize (frozen_lengths);
 	    }
-	  else if (all_colon_equiv (ra_idx, dimensions) 
-		    && frozen_lengths.length () == n_dims)
+	  else if (frozen_lengths.length () == n_dims
+		   && all_colon_equiv (ra_idx, dimensions))
 	    {
 	      retval = *this;
 	    }