Mercurial > hg > octave-nkf
changeset 14464:21ac4b576003 stable
fix scalar indexing in anonymous function bug (bug #34765)
* ov-base-scalar.h (octave_base_scalar<T>::do_multi_index_op):
New function.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 15 Mar 2012 13:03:27 -0400 |
parents | af552038cc52 |
children | 16164cb3b713 e995b1c97e13 |
files | src/ov-base-scalar.h |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ov-base-scalar.h +++ b/src/ov-base-scalar.h @@ -71,6 +71,9 @@ const std::list<octave_value_list>& idx, const octave_value& rhs); + octave_value_list do_multi_index_op (int, const octave_value_list& idx) + { return do_index_op (idx); } + bool is_constant (void) const { return true; } bool is_defined (void) const { return true; }