diff libinterp/corefcn/data.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 70cdf8de553d
children 98192ec1621f
line wrap: on
line diff
--- a/libinterp/corefcn/data.cc	Thu Aug 06 13:53:07 2020 -0400
+++ b/libinterp/corefcn/data.cc	Thu Aug 06 15:09:30 2020 -0400
@@ -7221,7 +7221,7 @@
       if (vals.is_range ())
         {
           Range r = vals.range_value ();
-          if (r.inc () == 0)
+          if (r.increment () == 0)
             vals = r.base ();
         }