bugGNU Octave - Bugs: bug #43219, fminbnd returns wrong result, if...

 
 

bug #43219: fminbnd returns wrong result, if second interval bound is smaller than first

Submitted by:  Jonathan Hahn <helo>
Submitted on:  Sat 13 Sep 2014 11:00:12 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 3.8.1Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 30 Dec 2014 04:44:50 PM UTC, comment #2:

I adjusted your patch slightly to use core Octave coding conventions for spacings and committed it to the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/0f79fa9b3a8c). Thanks for the fix.

Rik <rik5>
Project Administrator
Fri 19 Sep 2014 04:26:50 PM UTC, comment #1:

I submitted a patch that should solve the problem by checking the input arguments of fminbnd.

(file #32137)

Massimiliano Fasi <mfasi>
Sat 13 Sep 2014 11:00:12 PM UTC, original submission:

I think the result of this call is wrong, and as far
as I remember Matlab is throwing an error message for bounds
like that.

Jonathan Hahn <helo>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #32137:  bugfix_43219.patch added by mfasi (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by mfasi (Updated the item)
  • -unavailable- added by helo (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 30 Dec 2014 04:44:50 PM UTCrik5StatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Mon 29 Dec 2014 05:54:08 AM UTCrik5StatusNone=>Patch Submitted
    Fri 19 Sep 2014 04:26:50 PM UTCmfasiAttached File-=>Added bugfix_43219.patch, #32137

    Back to the top


    Powered by Savane 3.1-cleanup1