diff options
Diffstat (limited to 'src/test-path.c')
-rw-r--r-- | src/test-path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test-path.c b/src/test-path.c index 523ebd4..62994d6 100644 --- a/src/test-path.c +++ b/src/test-path.c @@ -139,7 +139,7 @@ void usage(void) int main(int argc, char **argv) { size_t i, j, n, N, z, bins; - double pos0[3], dir0[3], theta0, range, pos2[3], dir[3], T, t, tmp; + double pos0[3], dir0[3], theta0, range, pos2[3], dir[3], beta, t, tmp; double *theta1, *theta2; z = 2; @@ -211,7 +211,7 @@ int main(int argc, char **argv) gsl_histogram_increment(h2[j], simvalue->z2[j]); } for (j = 0; j < N; j++) { - path_eval(simvalue->p,range*j/(N-1),pos2,dir,&T,&t,&tmp); + path_eval(simvalue->p,range*j/(N-1),pos2,dir,&beta,&t,&tmp); theta1[j*n+i] = simvalue->dir[j*3+1] - dir[1]; theta2[j*n+i] = simvalue->dir[j*3+2] - dir[2]; } @@ -282,7 +282,7 @@ int main(int argc, char **argv) fprintf(pipe, "e\n"); sim *simvalue = simulate_path(pos0,dir0,range,theta0,N,z); for (i = 0; i < N; i++) { - path_eval(simvalue->p,range*i/(N-1),pos2,dir,&T,&t,&tmp); + path_eval(simvalue->p,range*i/(N-1),pos2,dir,&beta,&t,&tmp); fprintf(pipe, "%g %g\n", i*range/(N-1), tmp); } @@ -307,7 +307,7 @@ int main(int argc, char **argv) fprintf(pipe,"e\n"); for (i = 0; i < N; i++) { - path_eval(simvalue->p,i*range/(N-1),pos2,dir,&T,&t,&theta0); + path_eval(simvalue->p,i*range/(N-1),pos2,dir,&beta,&t,&theta0); fprintf(pipe,"%.10g %.10g %.10g\n", pos2[0], pos2[1], pos2[2]); } fprintf(pipe,"e\n"); |