Restored c_functions.c

master
Per A Brodtkorb 9 years ago
parent cd7b75b184
commit 1863b2233f

@ -15,7 +15,7 @@
void findrfc(double *y1,double hmin, int *ind, int n,int *info) { void findrfc(double *y1,double hmin, int *ind, int n,int *info) {
double xminus,xplus,Tpl,Tmi,*y,Tstart; double xminus,xplus,Tpl,Tmi,*y,Tstart;
int i,j,ix=0,NC; int i,j,ix=0,NC,iy;
info[0] = 0; info[0] = 0;
if (*(y1+0)> *(y1+1)){ if (*(y1+0)> *(y1+1)){
/* if first is a max , ignore the first max*/ /* if first is a max , ignore the first max*/
@ -87,6 +87,7 @@ void findrfc(double *y1,double hmin, int *ind, int n,int *info) {
ix++; ix++;
*(ind+ix)=(Tstart+2*i+1); *(ind+ix)=(Tstart+2*i+1);
ix++; ix++;
} /*if*/ } /*if*/
goto L180; goto L180;
L170: L170:
@ -108,6 +109,7 @@ void findrfc(double *y1,double hmin, int *ind, int n,int *info) {
} /*if*/ } /*if*/
} /*elseif*/ } /*elseif*/
L180: L180:
iy=i;
} /* for i */ } /* for i */
info[0] = ix; info[0] = ix;
return ; return ;

Loading…
Cancel
Save