From 5d2605f47cee06d5367dc7d221816c52d8a5cda8 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 17 Jun 2011 18:01:22 +0200 Subject: Remove useless function parameter --- tests/pr_gradient_check.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/pr_gradient_check.c') diff --git a/tests/pr_gradient_check.c b/tests/pr_gradient_check.c index a81416f7..d2aa376e 100644 --- a/tests/pr_gradient_check.c +++ b/tests/pr_gradient_check.c @@ -107,12 +107,12 @@ static void calc_either_side(struct image *image, double incr_val, UnitCell *cell; cell = new_shifted_cell(image->indexed_cell, refine, -incr_val); - compare = find_intersections(image, cell, 0); + compare = find_intersections(image, cell); scan_partialities(image->reflections, compare, valid, vals, 0); cell_free(cell); cell = new_shifted_cell(image->indexed_cell, refine, +incr_val); - compare = find_intersections(image, cell, 0); + compare = find_intersections(image, cell); scan_partialities(image->reflections, compare, valid, vals, 2); cell_free(cell); } @@ -129,7 +129,7 @@ static int test_gradients(struct image *image, double incr_val, int refine, int nref; int n_acc, n_valid; - image->reflections = find_intersections(image, image->indexed_cell, 0); + image->reflections = find_intersections(image, image->indexed_cell); nref = num_reflections(image->reflections); if ( nref < 10 ) { -- cgit v1.2.3