From 38a1ea2575da5499b0cd47d416df639bdcada418 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 13 Aug 2014 17:17:49 +0200 Subject: Fix handling of overlapping reflections --- tests/integration_check.c | 1 + tests/prof2d_check.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/integration_check.c b/tests/integration_check.c index b5dbea67..06bdd7d8 100644 --- a/tests/integration_check.c +++ b/tests/integration_check.c @@ -140,6 +140,7 @@ int main(int argc, char *argv[]) ic.ir_out = ir_out; ic.meth = INTEGRATION_RINGS; ic.int_diag = INTDIAG_NONE; + ic.masks = NULL; if ( init_intcontext(&ic) ) { ERROR("Failed to initialise integration.\n"); return 1; diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c index a1c89d36..3352db49 100644 --- a/tests/prof2d_check.c +++ b/tests/prof2d_check.c @@ -177,7 +177,8 @@ int main(int argc, char *argv[]) reflist_free(list); /* integrate_prof2d() will predict again */ integrate_prof2d(INTEGRATION_PROF2D, PMODEL_SPHERE, cr, &image, - INTDIAG_NONE, 0, 0, 0, ir_inn, ir_mid, ir_out, 0); + INTDIAG_NONE, 0, 0, 0, ir_inn, ir_mid, ir_out, 0, + NULL); list = crystal_get_reflections(cr); printf("Weak reflections:\n"); -- cgit v1.2.3