octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46534] z = [1, 2; 3] fails to create variable


From: Rik
Subject: [Octave-bug-tracker] [bug #46534] z = [1, 2; 3] fails to create variable or issue error
Date: Wed, 25 Nov 2015 22:47:41 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0

URL:
  <http://savannah.gnu.org/bugs/?46534>

                 Summary: z = [1, 2; 3] fails to create variable or issue
error
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Wed 25 Nov 2015 02:47:40 PM PST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46534>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]