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

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

[Octave-bug-tracker] [bug #47909] load and += doesnot add


From: Y Iwasaki
Subject: [Octave-bug-tracker] [bug #47909] load and += doesnot add
Date: Thu, 12 May 2016 14:46:53 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

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

                 Summary: load and += doesnot add
                 Project: GNU Octave
            Submitted by: oct4020160521
            Submitted on: 2016年05月12日 14時46分52秒
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Iwasaki Y
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

Prepare script "b42.m" as following three lines

load "data4.mat";
a += 1;
a(1,1)


Start Octave and type following two lines

a=ones(61,49);
save "data4.mat" a


Exit Octave and restart Octave and type 

b42


Octave shows
ans =  1

a(1,1) should be 2.
Changing a=ones(61,49) to a=ones(10,10) results in
error: b42: A(I,J): row index out of bounds; value 61 out of bound 10
error: called from
    b42 at line 2 column 1








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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