diff libinterp/octave-value/ov-class.cc @ 18131:c7b68a11074b

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Thu, 12 Dec 2013 00:24:02 -0500
parents 6a71e5030df5 e473c4853afc
children 06eb893b9db6
line wrap: on
line diff
--- a/libinterp/octave-value/ov-class.cc	Sat Dec 07 17:51:53 2013 -0500
+++ b/libinterp/octave-value/ov-class.cc	Thu Dec 12 00:24:02 2013 -0500
@@ -991,7 +991,7 @@
 }
 
 idx_vector
-octave_class::index_vector (void) const
+octave_class::index_vector (bool require_integers) const
 {
   idx_vector retval;
 
@@ -1014,7 +1014,7 @@
             // add one to the value returned as the index_vector method
             // expects it to be one based.
             retval = do_binary_op (octave_value::op_add, tmp (0),
-                                   octave_value (1.0)).index_vector ();
+                                   octave_value (1.0)).index_vector (require_integers);
         }
     }
   else