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

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

[Octave-bug-tracker] [bug #61705] Wrong number of columns when removing


From: Rik
Subject: [Octave-bug-tracker] [bug #61705] Wrong number of columns when removing entry from empty vector
Date: Tue, 10 May 2022 14:05:14 -0400 (EDT)

Follow-up Comment #7, bug #61705 (project octave):

Following up on jwe's comment #6, this is only an issue with logical indexing.
 I would note this comment in Array.cc at line 695


  // Numeric array or logical mask:
  //
  //   Note that logical mask indices are always transformed to vectors
  //   before we see them.
  //
  //   object   | index    | result orientation
  //   ---------+----------+-------------------
  //   vector   | vector   | indexed object
  //            | other    | same size as index
  //   ---------+----------+-------------------
  //   array    | anything | same size as index


It may be that the problem lies upstream of Array.cc when the logical masx is
transformed to a vector.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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