bugGNU Octave - Bugs: bug #36817, Concatenation of null array and...

 
 

bug #36817: Concatenation of null array and struct fails

Submitted by:  None
Submitted on:  Mon 09 Jul 2012 01:18:02 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Andrew M.Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.4.0
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 09 Jul 2012 03:13:39 PM UTC, comment #1:

This problem appears to be fixed in the current release, 3.6.2, where I see the following behavior:

John W. Eaton <jwe>
Project Administrator
Mon 09 Jul 2012 01:18:02 PM UTC, original submission:

In Matlab I often create an empty array and then use a loop to conditionally add elements to the array concatenation. In Octave this works fine for integer data types, but fails for structs. For example:

The error message is:

My feeling is that the second concatenation should work the same as the first one, and the same as it does in Matlab. If there is a workaround for this please let me know.

Thanks.

Anonymous

 

(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)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Jul 2012 03:13:39 PM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1