aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-08-13 17:17:49 +0200
committerThomas White <taw@physics.org>2014-08-13 17:17:49 +0200
commit38a1ea2575da5499b0cd47d416df639bdcada418 (patch)
tree8805a245ade6ce4bdf88e6f1b84612f10545f69e /tests
parentd4a727a2ef2b07bbea24452001209fa42d851f64 (diff)
Fix handling of overlapping reflections
Diffstat (limited to 'tests')
-rw-r--r--tests/integration_check.c1
-rw-r--r--tests/prof2d_check.c3
2 files changed, 3 insertions, 1 deletions
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");