bugGNU Octave - Bugs: bug #41767, feval not updating function

 
 

bug #41767: feval not updating function

Submitted by:  Muhali <muhali>
Submitted on:  Mon 03 Mar 2014 04:02:16 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 15 Dec 2016 12:14:35 PM UTC, comment #3:

This issue is still present in Octave 4.2.0.

Hartmut <hardy>
Wed 05 Mar 2014 08:40:13 AM UTC, comment #2:

Matlab does not allow for function definitions within the code. When defined in an extra function file (eg. 'A.m') it updates correctly as octave.

In slight modification, with ~a/A.m and ~/b/A.m returning pi and e, resp., both ML and octave display pi when executing

Muhali <muhali>
Wed 05 Mar 2014 03:59:43 AM UTC, comment #1:

Does Matlab behave differently? That would be one important consideration.

Rik <rik5>
Project Administrator
Mon 03 Mar 2014 04:02:16 PM UTC, original submission:

The code

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.

Muhali <muhali>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hardy (Posted a comment)
  • -unavailable- added by lachlan (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by muhali (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 08 Feb 2016 02:18:39 PM UTClachlanSeverity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low

    Back to the top


    Powered by Savane 3.1-cleanup1