fix: fix bad C instructions for modern compiler

This commit is contained in:
Guilhem Lavaux 2025-07-02 14:01:53 +02:00
parent b68bc67451
commit 328cd77336
4 changed files with 5 additions and 6 deletions

View file

@ -8,7 +8,6 @@ double zbrent(double (*func)(double), double x1,double x2, double tol)
int iter;
double a=x1,b=x2,c,d,e,min1,min2;
double fa=(*func)(a),fb=(*func)(b),fc,p,q,r,s,tol1,xm;
void nrerror();
if (fb*fa > 0.0)
{