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: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #61705] Wrong number of columns when removing entry from empty vector
Date: Tue, 10 May 2022 15:27:51 -0400 (EDT)

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

just fyi the matlab behavior for comment #6:


>> x = []
x =
     []
>> x([])
ans =
     []
>> x(logical([]))
ans =
     []


[] always being 0x0

there seem to be a good number of matlab compatibilities creeping up over the
past ~5 years or so that deal with empty matrix size, so it may very well be
that matlab changed behavior (intentionally or not).   


    _______________________________________________________

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]