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

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

[Octave-bug-tracker] [bug #35497] inputname fails


From: Muhali
Subject: [Octave-bug-tracker] [bug #35497] inputname fails
Date: Fri, 10 Feb 2012 00:01:19 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:10.0) Gecko/20100101 Firefox/10.0

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

                 Summary: inputname fails
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Thu 09 Feb 2012 04:01:18 PM PST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

For the function


function y = foo(u, v)
   y = inputname(2) ;
endfunction


one gets


octave> foo(pi, e)
ans = e
octave> feval(@foo, pi, e)
error: foo: A(I): index out of bounds; value 2 out of bound 1
error: called from:
error:   /usr/local/octave/share/octave/3.7.0+/m/miscellaneous/inputname.m at
line 31, column 7
error:   foo at line 2, column 6






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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