bugGNU Octave - Bugs: bug #32172, 3d cell array does not work?

 
 

bug #32172: 3d cell array does not work?

Submitted by:  wal <wal>
Submitted on:  Tue 18 Jan 2011 03:18:48 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: walOpen/Closed: Closed
Release: 3.2.4Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 19 Jan 2011 10:45:24 AM UTC, comment #2:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/de5fba8337c5

This seems to fix the problem for me, so I'm closing this report.

John W. Eaton <jwe>
Project Administrator
Tue 18 Jan 2011 06:05:34 PM UTC, comment #1:

Matab R2009B says:

>> a{1,1,1} = 1;
>> a{1,1,1} = ones(10);
>> a


a =

[10x10 double]

>> whos

Name Size Bytes Class Attributes

a 1x1 912 cell

Michael Godfrey <godfrey>
Project Member
Tue 18 Jan 2011 03:18:48 PM UTC, original submission:

Assigning new data to a single existing cell for 3D cell arrays does not seem to work.

% the following works
clear a;
a{1} = 1;
a{1} = ones(10);

% This also following works
clear a;
a{1,1} = 1;
a{1,1} = ones(10);

% This does not work
clear a;
a{1,1,1} = 1;
a{1,1,1} = ones(10);

GNU Octave Version 3.2.4
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.34.7-0.7-default #1 SMP 2010-12-13 11:13:53 +0100 x86_64

wal <wal>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by godfrey (Posted a comment)
  • -unavailable- added by wal (Submitted the item)
  • -unavailable- added by wal
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 19 Jan 2011 10:45:24 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 18 Jan 2011 03:18:48 PM UTCwalCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1