bugGNU Octave - Bugs: bug #51086, matrix concatentation of struct...

 
 

bug #51086: matrix concatentation of struct with empty cell arrays should work

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Mon 22 May 2017 07:28:15 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 22 May 2017 07:28:15 PM UTC, original submission:

According to a test done on the maintainers mailing list, in Matlab 2017a:

When a struct is the leading element in a row vector concatenation, and the remaining elements are all empty cell arrays, they should be ignored, the same as if they were empty matrices.

For example, this works in Octave:

If the trailing values are empty cell arrays, they should collapse the same way and the result should be just the scalar struct or struct array.

Mike Miller <mtmiller>
Project Administrator

 

(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 mtmiller (Submitted the item)
  •  

    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):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1