aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-11-09 09:56:00 +0100
committerThomas White <taw@physics.org>2024-02-06 16:59:34 +0100
commite42773c17459e5bad58632b2792a3f18abb70178 (patch)
tree7bb4ee4abb92a5dd86b418f92cea5fcda85e6a9a /tests
parente209e26fb6fd76554e41cbe0f7c050cfcac83832 (diff)
Crystal: Remove reference to image structure (part 3)
Diffstat (limited to 'tests')
-rw-r--r--tests/prof2d_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/prof2d_check.c b/tests/prof2d_check.c
index 71e56d49..d2ff0bcd 100644
--- a/tests/prof2d_check.c
+++ b/tests/prof2d_check.c
@@ -130,8 +130,8 @@ int main(int argc, char *argv[])
image.n_crystals = 1;
image.crystals = &cr;
- list = predict_to_res(cr, detgeom_max_resolution(image.detgeom,
- image.lambda));
+ list = predict_to_res(cr, &image, detgeom_max_resolution(image.detgeom,
+ image.lambda));
crystal_set_reflections(cr, list);
for ( fs=0; fs<w; fs++ ) {