aboutsummaryrefslogtreecommitdiff
path: root/tests/integration_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-06-20 15:01:00 +0200
committerThomas White <taw@physics.org>2012-06-20 15:01:00 +0200
commitdca1938a5de0a3b22ede39c978da3f664d05b6b4 (patch)
treed180c731c1d190e0f6b419aff4d2d74814ccfb83 /tests/integration_check.c
parent53cf97428ebfc7f53fee5970342a836bf45017ec (diff)
parentb90ddc13d5638aa5e9e4094228f464ce48989eb7 (diff)
Merge remote-tracking branch 'bitwiz/ken/int_noPkBg'
Diffstat (limited to 'tests/integration_check.c')
-rw-r--r--tests/integration_check.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 21c10f79..d43e5fd2 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -203,6 +203,8 @@ int main(int argc, char *argv[])
image.height = 128;
memset(image.data, 0, 128*128*sizeof(float));
+ image.reflections=reflist_new();
+
/* First check: no intensity -> no peak, or very low intensity */
r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma,
10.0, 15.0, 17.0, 0);