diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-07-16 11:18:09 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-07-16 11:18:09 -0500 |
commit | 4178680c74627d6490b44ae6b59b4332700d952f (patch) | |
tree | 0593579ce29eeacb20d265c7933cbdaab3f0d821 /src/test.c | |
parent | 9f63d7eae7d8be9b599955644aa4c7a92ccb640f (diff) | |
download | sddm-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |