Mercurial > hg > octave-lyh
diff liboctave/Array-util.h @ 10486:4e64fbbd5c58
allow non-integer values in ranges used for array indexing
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 02 Apr 2010 14:28:34 -0400 |
parents | 0677c5d80b77 |
children | d47802f0e557 |
line wrap: on
line diff
--- a/liboctave/Array-util.h +++ b/liboctave/Array-util.h @@ -114,7 +114,7 @@ extern void OCTAVE_API gripe_del_index_out_of_range (bool is1d, octave_idx_type iext, octave_idx_type ext); -extern void OCTAVE_API gripe_invalid_index (void); +extern void OCTAVE_API gripe_invalid_index (bool err = true); extern void OCTAVE_API gripe_invalid_resize (void);