Mercurial > octave
view test/bug-47680/super_bug47680.m @ 31204:a81fad5c9fef
idx_vector: Fix wrong length calculation (bug #62968).
* liboctave/array/idx-vector.cc: Fix wrong calculation for m_len in
(start, limit, step) constructor to account for incomplete intervals.
* liboctave/array/idx-vector.h: Add comment to (start, limit, step) constructor.
author | Maged Rifaat <magedrifaat@gmail.com> |
---|---|
date | Sat, 27 Aug 2022 13:41:44 +0200 |
parents | b73a54c31152 |
children |
line wrap: on
line source
classdef super_bug47680 properties tag; endproperties methods function obj = super_bug47680 (x) obj.tag = x; endfunction function r = meth1 (obj, x) r = [obj.tag ":super:meth1:" x]; endfunction function r = meth2 (obj, x) r = [obj.tag ":super:meth2:" x]; endfunction function r = meth3 (obj, x) r = [obj.tag ":super:meth3:" x]; endfunction function r = meth4 (obj, x) r = [obj.tag ":super:meth4:" x]; endfunction endmethods endclassdef