octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #62405] Out of Bound(OOB) on subsindex()


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62405] Out of Bound(OOB) on subsindex()
Date: Tue, 3 May 2022 05:11:55 -0400 (EDT)

Update of bug #62405 (project octave):

                  Status:                    None => Need Info              

    _______________________________________________________

Follow-up Comment #1:

Maybe, I'm missing the point. Could you please elaborate what you think is the
bug?

What does `subsindex(input_container)` return in your example. IIUC, it
returns `[0 1 2 3]`. `b` in your last example has only two elements. So,
indexing it with effectively `b([0 1 2 3]+1)` leads to the error you are
seeing.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62405>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]