mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 13:40:56 +00:00
There have been 0 days since the last compiler warning
This commit is contained in:
parent
0c0019a2d1
commit
86b75ba936
1 changed files with 0 additions and 2 deletions
|
@ -309,7 +309,6 @@ static int comp(const void *a,const void *b){
|
||||||
#define EPSILON 10e-7
|
#define EPSILON 10e-7
|
||||||
static int Laguerre_With_Deflation(float *a,int ord,float *r){
|
static int Laguerre_With_Deflation(float *a,int ord,float *r){
|
||||||
int i,m;
|
int i,m;
|
||||||
double lastdelta;
|
|
||||||
double *defl=alloca(sizeof(*defl)*(ord+1));
|
double *defl=alloca(sizeof(*defl)*(ord+1));
|
||||||
for(i=0;i<=ord;i++)defl[i]=a[i];
|
for(i=0;i<=ord;i++)defl[i]=a[i];
|
||||||
|
|
||||||
|
@ -346,7 +345,6 @@ static int Laguerre_With_Deflation(float *a,int ord,float *r){
|
||||||
if(delta<0.f)delta*=-1;
|
if(delta<0.f)delta*=-1;
|
||||||
|
|
||||||
if(fabs(delta/new)<10e-12)break;
|
if(fabs(delta/new)<10e-12)break;
|
||||||
lastdelta=delta;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
r[m-1]=new;
|
r[m-1]=new;
|
||||||
|
|
Loading…
Reference in a new issue