aboutsummaryrefslogtreecommitdiff
path: root/tests/pr_p_gradient_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-05-03 17:09:09 +0200
committerThomas White <taw@physics.org>2016-07-01 10:19:27 +0200
commit541c05ac1979404e10e514653836cc29adfe7d02 (patch)
treed039ec1b85423540eb46896990cbfa1bf31788d9 /tests/pr_p_gradient_check.c
parent92bf4069d916bd7bd6345d4b2b4ff585c7d28744 (diff)
Remove slab-relative coordinates from tests
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;