aboutsummaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.c')
-rw-r--r--src/test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test.c b/src/test.c
index 0513598..100091c 100644
--- a/src/test.c
+++ b/src/test.c
@@ -1464,7 +1464,7 @@ int test_quad(char *err)
for (j = 0; j < LEN(hits); j++) {
SUB(pmt_dir,pmts[hits[j]].pos,x0);
ev.pmt_hits[hits[j]].hit = 1;
- ev.pmt_hits[hits[j]].qhs = genrand_real2();
+ ev.pmt_hits[hits[j]].q = genrand_real2();
ev.pmt_hits[hits[j]].t = t0 + NORM(pmt_dir)*n_d2o/SPEED_OF_LIGHT;
}
@@ -1569,7 +1569,7 @@ int test_quad_noise(char *err)
for (j = 0; j < LEN(hits); j++) {
SUB(pmt_dir,pmts[hits[j]].pos,x0);
ev.pmt_hits[hits[j]].hit = 1;
- ev.pmt_hits[hits[j]].qhs = genrand_real2();
+ ev.pmt_hits[hits[j]].q = genrand_real2();
ev.pmt_hits[hits[j]].t = t0 + NORM(pmt_dir)*n_d2o/SPEED_OF_LIGHT + randn()*PMT_TTS;
}