lima
01-14-2004, 03:33 AM
Hi,
I was taking a look to the code of the function zbrent (Brent's method, Fortran 77 2nd ed.) and I saw this line of code:
if(abs(xm).le.tol1.or.fb.eq.0.) then
Shouldn't this type of expression be replaced to avoid strange results? Because of the comparison fb.eq.0.
Ricardo
I was taking a look to the code of the function zbrent (Brent's method, Fortran 77 2nd ed.) and I saw this line of code:
if(abs(xm).le.tol1.or.fb.eq.0.) then
Shouldn't this type of expression be replaced to avoid strange results? Because of the comparison fb.eq.0.
Ricardo