Mercurial > octave
diff libinterp/corefcn/pr-output.cc @ 28636:a3db48e66ef8
use Range::increment instead of Range::inc
This change is a step toward replacing the current Range class with
the new range template class.
* Range.h (Range::increment): New function. Change all uses of
Range::inc to use Range::increment instead.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 06 Aug 2020 15:09:30 -0400 |
parents | 79b583e31590 |
children | fb37f50d5ba8 |
line wrap: on
line diff
--- a/libinterp/corefcn/pr-output.cc Thu Aug 06 13:53:07 2020 -0400 +++ b/libinterp/corefcn/pr-output.cc Thu Aug 06 15:09:30 2020 -0400 @@ -2492,7 +2492,7 @@ bool pr_as_read_syntax, int extra_indent) { double base = r.base (); - double increment = r.inc (); + double increment = r.increment (); double limit = r.limit (); octave_idx_type num_elem = r.numel ();