diff options
author | Thomas White <taw@physics.org> | 2011-06-17 18:01:22 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:29 +0100 |
commit | 5d2605f47cee06d5367dc7d221816c52d8a5cda8 (patch) | |
tree | bdfadde2f97ac9dd4da9c7606660b5498444240b /tests | |
parent | 11d82aa6456513f102364df1ebd3eed76f2d138f (diff) |
Remove useless function parameter
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pr_gradient_check.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 ) { |