diff liboctave/intNDArray.h @ 7620:36594d5bbe13

Move diag function into the octave_value class
author David Bateman <dbateman@free.fr>
date Fri, 21 Mar 2008 00:08:24 +0100
parents 8c32f95c2639
children 1dce30ab0e72
line wrap: on
line diff
--- a/liboctave/intNDArray.h
+++ b/liboctave/intNDArray.h
@@ -65,8 +65,7 @@
 
   bool any_element_not_one_or_zero (void) const;
 
-  intNDArray diag (void) const;
-  intNDArray diag (octave_idx_type k) const;
+  intNDArray diag (octave_idx_type k = 0) const;
 
   // FIXME -- this is not quite the right thing.