aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-07-25 17:49:03 +0200
committerThomas White <taw@physics.org>2013-07-25 17:49:03 +0200
commitfebc21aa72b87d7f743eeb98c71ece50b301701f (patch)
tree849739ed2545751853cceafb5eb7f79873051b50 /tests
parent0431728cc5efd3321b1c60f97a830dd525cf04c8 (diff)
partialator: Account for Lorentz factor
Diffstat (limited to 'tests')
-rw-r--r--tests/pr_gradient_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pr_gradient_check.c b/tests/pr_gradient_check.c
index 68a625a7..4600db9b 100644
--- a/tests/pr_gradient_check.c
+++ b/tests/pr_gradient_check.c
@@ -309,7 +309,7 @@ static double test_gradients(Crystal *cr, double incr_val, int refine,
grad = (grad1 + grad2) / 2.0;
i++;
- cgrad = gradient(cr, refine, refl, pmodel);
+ cgrad = p_gradient(cr, refine, refl, pmodel);
get_partial(refl, &r1, &r2, &p, &cl, &ch);