Mercurial > hg > octave-terminal
changeset 10884:cc2bc3f46cd4
fix assignment bug with lazy indices
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 11 Aug 2010 10:55:31 +0200 |
parents | aef238768f25 |
children | 36a7163a5484 |
files | src/ChangeLog src/ov-lazy-idx.h |
diffstat | 2 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-08-11 Jaroslav Hajek <highegg@gmail.com> + + * ov-lazy-idx.h (octave_lazy_index::subsasgn): Remove override. Leave + it to the defualt numeric conversion mechanism. + 2010-08-10 Jaroslav Hajek <highegg@gmail.com> * data.cc (Fdiff): Allow logical type.
--- a/src/ov-lazy-idx.h +++ b/src/ov-lazy-idx.h @@ -79,11 +79,6 @@ const std::list<octave_value_list>& idx, int) { return subsref (type, idx); } - octave_value subsasgn (const std::string& type, - const std::list<octave_value_list>& idx, - const octave_value& rhs) - { return make_value ().subsasgn (type, idx, rhs); } - octave_value do_index_op (const octave_value_list& idx, bool resize_ok = false) { return make_value ().do_index_op (idx, resize_ok); }