aboutsummaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test.c b/src/test.c
index 3ef6531..baf0914 100644
--- a/src/test.c
+++ b/src/test.c
@@ -342,6 +342,7 @@ int test_path(char *err)
double pos[3], dir[3];
double E, mom, beta;
double s;
+ double theta0;
T0 = 1.0;
range = 1.0;
@@ -371,7 +372,7 @@ int test_path(char *err)
t_expected = s/(beta*SPEED_OF_LIGHT);
- path_eval(p,s,pos,dir,&T,&t);
+ path_eval(p,s,pos,dir,&T,&t,&theta0);
for (k = 0; k < 3; k++) {
if (!isclose(pos[k], pos_expected[k], 1e-9, 1e-9)) {