aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-05-21 17:56:54 +0200
committerThomas White <taw@physics.org>2012-05-21 17:56:54 +0200
commit733ffd399298d02e91852db8cd6b382d3b734579 (patch)
tree4bb75186c8f71f6d648ab826cde5b7caac9a454b /tests
parent3bc13230355c2be24549e09663295f3cdaee74dc (diff)
Fix tests/integration_check for cutoff
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_check.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 7e812ad5..2d18ac5a 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -197,6 +197,7 @@ int main(int argc, char *argv[])
image.det->panels[0].clen = 1.0;
image.det->panels[0].res = 1.0;
image.det->panels[0].adu_per_eV = 1.0/1000.0; /* -> 1 adu per photon */
+ image.det->panels[0].max_adu = +INFINITY; /* No cutoff */
image.width = 128;
image.height = 128;