comparison libinterp/octave-value/ov-range.cc @ 30391:fe6d1711feea

maint: merge stable to default.
author Rik <rik@octave.org>
date Sun, 28 Nov 2021 22:03:07 -0800
parents 91c6288781ba a61e1a0f6024
children 9f4442cccedf
comparison
equal deleted inserted replaced
30389:8ede68f976ff 30391:fe6d1711feea
244 } 244 }
245 245
246 template <typename T> 246 template <typename T>
247 octave_value 247 octave_value
248 ov_range<T>::do_index_op (const octave_value_list& idx, 248 ov_range<T>::do_index_op (const octave_value_list& idx,
249 bool resize_ok) 249 bool resize_ok)
250 { 250 {
251 if (idx.length () == 1 && ! resize_ok) 251 if (idx.length () == 1 && ! resize_ok)
252 { 252 {
253 octave_value retval; 253 octave_value retval;
254 254
721 } 721 }
722 722
723 template <typename T> 723 template <typename T>
724 bool 724 bool
725 ov_range<T>::load_binary (std::istream& is, bool swap, 725 ov_range<T>::load_binary (std::istream& is, bool swap,
726 octave::mach_info::float_format /* fmt */) 726 octave::mach_info::float_format /* fmt */)
727 { 727 {
728 // FIXME: Not always double! 728 // FIXME: Not always double!
729 729
730 char tmp; 730 char tmp;
731 if (! is.read (reinterpret_cast<char *> (&tmp), 1)) 731 if (! is.read (reinterpret_cast<char *> (&tmp), 1))