From 541c05ac1979404e10e514653836cc29adfe7d02 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 3 May 2016 17:09:09 +0200 Subject: Remove slab-relative coordinates from tests --- tests/prediction_gradient_check.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'tests/prediction_gradient_check.c') diff --git a/tests/prediction_gradient_check.c b/tests/prediction_gradient_check.c index 0ab8a2ec..b9f23217 100644 --- a/tests/prediction_gradient_check.c +++ b/tests/prediction_gradient_check.c @@ -3,11 +3,11 @@ * * Check partiality gradients for prediction refinement * - * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2012-2016 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: - * 2012-2015 Thomas White + * 2012-2016 Thomas White * * This file is part of CrystFEL. * @@ -418,9 +418,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; -- cgit v1.2.3