aboutsummaryrefslogtreecommitdiff
path: root/tests/integration_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration_check.c')
-rw-r--r--tests/integration_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c
index da808cce..50e99d65 100644
--- a/tests/integration_check.c
+++ b/tests/integration_check.c
@@ -124,7 +124,7 @@ int main(int argc, char *argv[])
list = reflist_new();
refl = add_refl(list, 0, 0, 0);
set_detector_pos(refl, 64, 64);
- set_panel(refl, &image.det->panels[0]);
+ set_panel_number(refl, 0);
cell = cell_new();
cell_set_lattice_type(cell, L_CUBIC);
cell_set_centering(cell, 'P');