bugGNU Octave - Bugs: bug #46534, z = [1, 2; 3] fails to create...

 
 

bug #46534: z = [1, 2; 3] fails to create variable or issue error

Submitter:  Rik <rik5>
Submitted:  Wed 25 Nov 2015 10:47:40 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 29 Nov 2015 01:03:47 PM UTC, comment #2: 

After Johns cset I get


>> z = [1 2; 3]
error: vertical dimensions mismatch (1x2 vs 1x1)


as expected. I also think this is a duplicate of bug #46433. Closing both as fixed

Andreas Weber <andy1978>
Group Member
Fri 27 Nov 2015 04:31:10 PM UTC, comment #1: 
John W. Eaton <jwe>
Group administrator
Wed 25 Nov 2015 10:47:40 PM UTC, original submission:  

There has been a regression in the interpreter from 4.0.0 to the development branch.  The following code in 4.0.0 produces an error


octave:1> z = [1, 2; 3]
error: vertical dimensions mismatch (1x2 vs 1x1)


But it a recent tip (20757:b4f5962b3373) there is no error nor is the variable created.



octave:1> z = [1 2; 3]
octave:1> whos
Variables in the current scope:

   Attr Name        Size                     Bytes  Class
   ==== ====        ====                     =====  =====
        ans         1x5                          5  char

Total is 5 elements using 5 bytes



Rik <rik5>
Group administrator

 

(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 andy1978 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-29 andy1978 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2015-11-27 jwe StatusNone Ready For Test

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code