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

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

[Octave-bug-tracker] [bug #37254] zeros() matrix wrong dimension


From: anonymous
Subject: [Octave-bug-tracker] [bug #37254] zeros() matrix wrong dimension
Date: Sun, 02 Sep 2012 16:43:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6) Gecko/20100101 Firefox/10.0.6 Iceweasel/10.0.6

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

                 Summary: zeros() matrix wrong dimension
                 Project: GNU Octave
            Submitted by: None
            Submitted on: dom 02 set 2012 16:43:29 UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Mau
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Code:

-----------------------------------------------------------------
> a=700;
> b=a*0.7
b =  490.00
> [[1:b]' zeros(b,1)];
error: horizontal dimensions mismatch (490x1 vs 489x1)
> size(zeros(b))
ans =

   489   489
-----------------------------------------------------------------

Note that if I write "b=490;" than everithing works fine.

OS: debian testing 3.2.0-3-amd64




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Messaggio inviato con/da Savannah
  http://savannah.gnu.org/




reply via email to

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