aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/pr_p_gradient_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pr_p_gradient_check.c b/tests/pr_p_gradient_check.c
index affddeab..1ae7b049 100644
--- a/tests/pr_p_gradient_check.c
+++ b/tests/pr_p_gradient_check.c
@@ -303,7 +303,7 @@ static double test_gradients(Crystal *cr, double incr_val, int refine,
grad = (grad1 + grad2) / 2.0;
i++;
- cgrad = p_gradient(cr, refine, refl, pmodel);
+ cgrad = gradient(cr, refine, refl, pmodel);
get_partial(refl, &r1, &r2, &p);