bugGNU Octave - Bugs: bug #46433, No syntax error if matrix size...

 
 

bug #46433: No syntax error if matrix size doesn't match

Submitter:  None
Submitted:  Fri 13 Nov 2015 02:08:29 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  jwe
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 29 Nov 2015 12:31:05 PM UTC, comment #4: 

This has been fixed on default in the meanwhile. I guess it was http://hg.savannah.gnu.org/hgweb/octave/rev/58e79b0078e4

Closing report as fixed.

Andreas Weber <andy1978>
Group Member
Fri 13 Nov 2015 03:27:12 PM UTC, comment #3: 

I assumed the bug report was for 4.0.0 as reported.  I didn't check the current development version.

I suspect this missing error is due to my recent (and, as yet, incomplete) changes to the interpreter to replace error_state with exception handling.

I updated the release info and status.

John W. Eaton <jwe>
Group administrator
Fri 13 Nov 2015 03:16:45 PM UTC, comment #2: 

John: What system were you using?

With 4.1.0+ I get no error and 'a' undefined...

Michael Godfrey <godfrey>
Group Member
Fri 13 Nov 2015 03:06:45 PM UTC, comment #1: 

It does produce an error for me:


octave:1> a = [[1;2], [3]];
error: horizontal dimensions mismatch (2x1 vs 1x1)


John W. Eaton <jwe>
Group administrator
Fri 13 Nov 2015 02:08:29 PM UTC, original submission:  

Shouldn't give this an syntax error in the first place?


octave:1> a = [[1;2], [3]];
octave:1> a
error: 'a' undefined near line 1 column 1


Anonymous

 

(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 godfrey (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-29 andy1978 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2015-11-13 jwe StatusWorks For Me Confirmed
        Assigned toNone jwe
        Release4.0.0 dev
    2015-11-13 jwe Item GroupInaccurate Result Incorrect Result
        StatusNone Works For Me

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code