[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector
From: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector |
Date: |
Wed, 13 Apr 2016 00:49:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #5, bug #47631 (project octave):
Aditya, if x = [], which is size [0,0], there is no reason to expect that
ind2sub ([], ...) will generate indices that can index it.
Note also that your example used "sizem" where Mike suggested "sizemax" (which
seems not to be supported in Matlab -- try 2^30 instead).
The important question is: can you think of a reason a user may want to call
ind2sub with an empty size matrix?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47631>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, anonymous, 2016/04/06
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Rik, 2016/04/06
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Rik, 2016/04/06
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Mike Miller, 2016/04/06
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Lachlan Andrew, 2016/04/11
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Aditya Manglik, 2016/04/11
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector,
Lachlan Andrew <=
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Aditya Manglik, 2016/04/15
- [Octave-bug-tracker] [bug #47631] ind2sub with empty dimension vector, Mike Miller, 2016/04/28