bug-gsl
[Top][All Lists]
Advanced

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

Re: [Bug-gsl] Typo in min/brent.c


From: Brian Gough
Subject: Re: [Bug-gsl] Typo in min/brent.c
Date: Tue, 13 Apr 2004 15:15:09 +0100

Paul Sydney writes:
 > Looks like a typo in min/brent.c.  You should be compare bounds on both 
 > ends with
 > the new position:
 > 
 > !       if ((u - x_left) < t2 || (x_right - u) < t2)
 > 
 > Is this correct?

I've checked the original reference (R.P.Brent, Algorithms for
minimization without derivatives), and you are right.  Thanks for the
bug report.  It will be fixed in the next release.

-- 
Brian Gough





reply via email to

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