Mercurial > hg > octave-nkf
comparison src/ov-lazy-idx.h @ 10884:cc2bc3f46cd4
fix assignment bug with lazy indices
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Wed, 11 Aug 2010 10:55:31 +0200 |
parents | de2d43bcb083 |
children | 9993f1354713 |
comparison
equal
deleted
inserted
replaced
10883:aef238768f25 | 10884:cc2bc3f46cd4 |
---|---|
76 { return make_value ().subsref (type, idx); } | 76 { return make_value ().subsref (type, idx); } |
77 | 77 |
78 octave_value_list subsref (const std::string& type, | 78 octave_value_list subsref (const std::string& type, |
79 const std::list<octave_value_list>& idx, int) | 79 const std::list<octave_value_list>& idx, int) |
80 { return subsref (type, idx); } | 80 { return subsref (type, idx); } |
81 | |
82 octave_value subsasgn (const std::string& type, | |
83 const std::list<octave_value_list>& idx, | |
84 const octave_value& rhs) | |
85 { return make_value ().subsasgn (type, idx, rhs); } | |
86 | 81 |
87 octave_value do_index_op (const octave_value_list& idx, | 82 octave_value do_index_op (const octave_value_list& idx, |
88 bool resize_ok = false) | 83 bool resize_ok = false) |
89 { return make_value ().do_index_op (idx, resize_ok); } | 84 { return make_value ().do_index_op (idx, resize_ok); } |
90 | 85 |