aboutsummaryrefslogtreecommitdiff
path: root/tests/pr_p_gradient_check.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pr_p_gradient_check.c')
-rw-r--r--tests/pr_p_gradient_check.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/pr_p_gradient_check.c b/tests/pr_p_gradient_check.c
index 17709741..9c2a6633 100644
--- a/tests/pr_p_gradient_check.c
+++ b/tests/pr_p_gradient_check.c
@@ -411,9 +411,7 @@ int main(int argc, char *argv[])
}
- image.width = 1024;
- image.height = 1024;
- image.det = simple_geometry(&image);
+ image.det = simple_geometry(&image, 1024, 1024);
image.det->panels[0].res = 13333.3;
image.det->panels[0].clen = 80e-3;
image.det->panels[0].coffset = 0.0;