bugGNU Octave - Bugs: bug #40889, fzero ignores input option...

 
 

bug #40889: fzero ignores input option "OutputFcn"

Submitted by:  None
Submitted on:  Fri 13 Dec 2013 04:22:06 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: LeoOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 14 Dec 2013 04:29:15 AM UTC, comment #1:

Thanks for catching this. I corrected the problem on the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/8ca7b1906a41). It will take a while before the development branch is released. In the mean time it's probably best to patch your own code locally.

Rik <rik5>
Project Administrator
Fri 13 Dec 2013 04:22:06 PM UTC, original submission:

The following two invocations of fzero produce the same result:

showing that fzero ignores the function handle passed for the "OutputFcn" option (in the above the function "sin" is used only as an example; in real uses a properly behaving function will be used).

The expected behaviour can be recovered by changing the line 308 of fzero as follows:

from:

to:

Best regards,
Leo

Anonymous

 

(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 rik5 (Posted a comment)
  • -unavailable- added by None (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
    Sat 14 Dec 2013 04:29:15 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1