diff liboctave/Array.cc @ 4592:a97b498e1b32

[project @ 2003-11-11 01:13:09 by jwe]
author jwe
date Tue, 11 Nov 2003 01:13:10 +0000
parents 19bfd295f400
children 77566be8b9e9
line wrap: on
line diff
--- a/liboctave/Array.cc
+++ b/liboctave/Array.cc
@@ -1656,7 +1656,8 @@
 	}
       else
 	{
-	  if (idx_orig_rows == 1 || idx_orig_columns == 1)
+	  if (idx_arg.one_zero_only ()
+	      || idx_orig_rows == 1 || idx_orig_columns == 1)
 	    {
 	      if (nr == 1)
 		retval = Array<T> (tmp, dim_vector (1, len));