Skip to content

Commit e6f0709

Browse files
committed
allow editing of lazy_index objects (bug #56690)
* ov-lazy-idx.h (octave_lazy_index::edit_display): New function.
1 parent 6381368 commit e6f0709

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libinterp/octave-value/ov-lazy-idx.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,10 @@ class OCTINTERP_API octave_lazy_index : public octave_base_value
143143
void print (std::ostream& os, bool pr_as_read_syntax = false)
144144
{ make_value ().print (os, pr_as_read_syntax); }
145145

146+
std::string edit_display (const float_display_format& fmt,
147+
octave_idx_type i, octave_idx_type j) const
148+
{ return make_value ().edit_display (fmt, i, j); }
149+
146150
void print_info (std::ostream& os, const std::string& prefix) const
147151
{ make_value ().print_info (os, prefix); }
148152

0 commit comments

Comments
 (0)