diff options
author | Thomas White <taw@physics.org> | 2022-06-09 17:24:54 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2022-06-09 17:24:54 +0200 |
commit | fdb262fe85917a8d62e6de41cc091a5cdf1a02ac (patch) | |
tree | 24dcd2219e6d61bde5a8c2150b895acb9c8a8136 /tests/prediction_gradient_check.c | |
parent | b4928e70e401c6c7b97e17dbcaccaaf934d1cb6f (diff) |
Remove some unused variables
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) |