aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2013-02-05 23:52:04 +0100
committerThomas White <taw@bitwiz.org.uk>2013-02-05 23:52:04 +0100
commit004be7ba8d405c7d04ac6143c783bfec70d296bb (patch)
tree1829386435cb0e1a7e66faf57a069f8f94d39b74 /tests
parent48bfb8e3674e921df3dc2ec387e6aa2889c343d3 (diff)
WIP on updating partialator
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_check.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index 7962e414..659eb7cc 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -205,7 +205,8 @@ int main(int argc, char *argv[])
image.height = 128;
memset(image.data, 0, 128*128*sizeof(float));
- image.reflections=reflist_new();
+ image.n_crystals = 0;
+ image.crystals = NULL;
/* First check: no intensity -> no peak, or very low intensity */
r = integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma,