aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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");