aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-05-27 14:00:17 +0200
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitc03c4aa196d68e408abef9f66ad3f3e30b8a16ac (patch)
treeaf1058d405e3a4cff8941d0970c4e493471ece0a /tests
parent0f5bec373a232dfd935fa3a7cc61759f67f1b2ce (diff)
Convert prediction and integration to detgeom
Diffstat (limited to 'tests')
-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');