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

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

[Octave-bug-tracker] [bug #41767] feval not updating function


From: Muhali
Subject: [Octave-bug-tracker] [bug #41767] feval not updating function
Date: Mon, 03 Mar 2014 16:02:17 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0

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

                 Summary: feval not updating function
                 Project: GNU Octave
            Submitted by: muhali
            Submitted on: Mon 03 Mar 2014 08:02:16 AM PST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The code


function y = A()
   y = pi ;
end

fun = @A ;

function y = A()
   y = e ;
end

disp(feval(@A)) ;
disp(feval(fun)) ;


shows that the second call to feval does actually not call the updated
function 'A'.

When defining 'A' in a function file 'A.m' and doing the updating there
everything works, so I'm not sure if this is really a bug.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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