bugGNU Octave - Bugs: bug #30921, troubles catting empty structures

 
 

bug #30921: troubles catting empty structures

Submitted by:  Pascal Dupuis <cdemills>
Submitted on:  Tue 31 Aug 2010 04:37:45 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Jaroslav Hajek <highegg>
Originator Name: Pascal DupuisOpen/Closed: Closed
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.

 

Wed 01 Sep 2010 10:42:07 AM UTC, comment #1:

Fixed by:
http://hg.savannah.gnu.org/hgweb/octave/rev/f42e8c6196c3

Jaroslav Hajek <highegg>In charge of this item.
Tue 31 Aug 2010 04:37:45 PM UTC, original submission:

Hello,

The following code fails under latest code, hg revision 10928:

S.type=':'
S.subs='_name'

dummy = S(2:end)
# result is a 1x0 struct

[S dummy]
error: orderfields: struct must have same fields up to order
error: cat: field name mismatch in concatenating structs

in 3.2.4, it results in a [1, 1] structure.

Could you check ?

Regards

Pascal

Pascal Dupuis <cdemills>
Project Member

 

(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 highegg (Posted a comment)
  • -unavailable- added by cdemills (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):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Sep 2010 10:42:07 AM UTChigheggItem GroupSegfault, Bus Error, etc.=>Incorrect Result
      StatusNone=>Fixed
      Assigned toNone=>highegg
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1