aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-05-07 17:03:01 +0200
committerThomas White <taw@physics.org>2015-05-13 13:48:33 +0200
commitcf68fc854e148d410bba1540f1738290e6f5313e (patch)
tree17f72cacca80da30bb6c0ca91fcbc4b43a1fbdbe /tests
parentb7540780d46b92f9ce96de74eb4c2e05b2369983 (diff)
partialator: Move scaling calculation into PR proper
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);