mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-05 07:41:11 +00:00
fix: fix bad C instructions for modern compiler
This commit is contained in:
parent
b68bc67451
commit
328cd77336
4 changed files with 5 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue