diff options
Diffstat (limited to 'tests/prediction_gradient_check.c')
-rw-r--r-- | tests/prediction_gradient_check.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/prediction_gradient_check.c b/tests/prediction_gradient_check.c index 6d8e596a..493da445 100644 --- a/tests/prediction_gradient_check.c +++ b/tests/prediction_gradient_check.c @@ -218,7 +218,6 @@ static double test_gradients(Crystal *cr, double incr_val, int refine, RefList *reflections; FILE *fh = NULL; int ntot = 0; - double total = 0.0; char tmp[32]; double *vec1; double *vec2; @@ -328,7 +327,6 @@ static double test_gradients(Crystal *cr, double incr_val, int refine, continue; } - total += fabsl(cgrad - grad); ntot++; if ( !within_tolerance(grad, cgrad, 5.0) |