[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35841] error assigning value to multi-dim str
From: |
Ron Salomon |
Subject: |
[Octave-bug-tracker] [bug #35841] error assigning value to multi-dim struct with trailing singleton dimensions |
Date: |
Tue, 25 Sep 2018 15:27:56 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0 |
Follow-up Comment #5, bug #35841 (project octave):
I think I've run into this glitch again while loading a cell with 2D matrices
with variable numbers of columns, always the same number of rows.
The cell dimensions are 9,3,12,2.
All arrays load fine except, as far as I can tell, just one: the cell 6,1,1,1
won't take the assigned array.
PS - further study shows it is not the loading that's a problem, it's
retrieval.
CELL{6,1,1,1}(4:end,:) gives ans = {}(0x1).
CELL{6,1,1,1} gives the expected 2D array.
However, for example,
CELL{5,1,1,1}(4:end,:) gives the expected 2D array.
I can code a work-around, but this might affect others!
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?35841>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/