bugGNU Octave - Bugs: bug #33590, appending a struct to an empty...

 
 

bug #33590: appending a struct to an empty vector an error in Octave 3.4.0

Submitter:  L. Markowsky <lmarkov>
Submitted:  Sat 18 Jun 2011 12:02:47 AM UTC
   
 
Category:  Interpreter Severity:  5 - Blocker
Priority:  9 - Immediate Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  lmarkov Open/Closed:  * Closed
Release:  * 3.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 20 Jun 2011 05:05:58 PM UTC, comment #1: 

I checked in the following changeset, which appears to fix the problem for me:

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

I also opened the following bug report for a related issue that I don't know how best to fix at the moment:

https://savannah.gnu.org/bugs/?33605

John W. Eaton <jwe>
Group administrator
Sat 18 Jun 2011 12:02:47 AM UTC, original submission:  

The sequence of operations:


a = []
b = struct ('x', 1, 'y', 2)
a = [a, b]


appears to work under Octave 3.2.4 but not under 3.4.0. Under 3.4.0, it produces the error:

error: concatenation operator not implemented for `scalar struct' by `scalar struct' operations

Thank you,
lmarkov

L. Markowsky <lmarkov>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by lmarkov (Submitted the item)
  • -email is unavailable- added by lmarkov
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-06-20 jwe StatusNone Fixed
        Open/ClosedOpen Closed
    2011-06-20 jwe Severity3 - Normal 5 - Blocker
        Priority5 - Normal 9 - Immediate
    2011-06-18 lmarkov Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code