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

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

[Octave-bug-tracker] [bug #56167] non-existent cell indexing within matr


From: Andrew Janke
Subject: [Octave-bug-tracker] [bug #56167] non-existent cell indexing within matrix brackets results in concatenation error
Date: Thu, 18 Apr 2019 22:25:37 -0400 (EDT)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36

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

> So, one choice would be to make Octave compatible with Matlab and error for
this usage.

I vote for this. I don't see an advantage for the empty-index usage, and
compatibility is a nice default.

Plus, I think there's a good chance that "c{}" indexing is just a typo. E.g.
this:


[c{}]


Might be just a typo for this:


[c {}]


which is a way of concatenating an empty cell onto an existing array.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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