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

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

[Octave-bug-tracker] [bug #43470] in place operation gives error: index


From: anonymous
Subject: [Octave-bug-tracker] [bug #43470] in place operation gives error: index out of bounds
Date: Fri, 24 Oct 2014 14:40:30 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

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

                 Summary: in place operation gives error: index out of bounds
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 24 Oct 2014 02:40:29 PM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Hartmut
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

after loading a variable from file, in place operations fail when executed
inside a script. The same operation is returns correct results when given in
an interactive shell. 

Example: 

address@hidden:~> cat script.m
load "x.mat"
x+=0

octave:1> version
ans = 3.8.2
octave:2> x=0
x = 0
octave:3> save "x.mat"
octave:4> clear
octave:5> script
error: script: A(I): index out of bounds; value 61 out of bound 1
error: called from:
error:   script.m at line 2, column 1
octave:5> x+=0
x = 0






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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