[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #43511] null arrary retained when cellstr is u
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #43511] null arrary retained when cellstr is used to build vector through concatenation |
Date: |
Fri, 07 Nov 2014 15:57:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:33.0) Gecko/20100101 Firefox/33.0 |
Follow-up Comment #5, bug #43511 (project octave):
Well, at least the behavior seems to be generalized to concatenation with any
cell.
@Philip: Could you make one more test? I don't think the first entry is
special, but I want to verify that Matlab removes all null matrices wherever
they appear in the list.
The following example in the development version of Octave produces:
[ [], {1}, [], {2}, [] ]
ans =
{
[1,1] = [](0x0)
[1,2] = 1
[1,3] = [](0x0)
[1,4] = 2
[1,5] = [](0x0)
}
Under Octave 3.4.3 it produces
[ [], {1}, [], {2}, []]
ans =
{
[1,1] = 1
[1,2] = 2
}
If Matlab is the same as 3.4.3 then I think we should mark this bug as a
regression.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?43511>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/