aboutsummaryrefslogtreecommitdiff
path: root/src/test.c
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-07-16 11:18:09 -0500
committertlatorre <tlatorre@uchicago.edu>2019-07-16 11:18:09 -0500
commit4178680c74627d6490b44ae6b59b4332700d952f (patch)
tree0593579ce29eeacb20d265c7933cbdaab3f0d821 /src/test.c
parent9f63d7eae7d8be9b599955644aa4c7a92ccb640f (diff)
downloadsddm-4178680c74627d6490b44ae6b59b4332700d952f.tar.gz
sddm-4178680c74627d6490b44ae6b59b4332700d952f.tar.bz2
sddm-4178680c74627d6490b44ae6b59b4332700d952f.zip
use QLX if QHS is railed
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;
}