From cda81d20360931fd036a242d1626e5636fd7b4cf Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 13 May 2015 15:22:50 +0200 Subject: Refine logarithmically --- src/post-refinement.c | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) (limited to 'src/post-refinement.c') diff --git a/src/post-refinement.c b/src/post-refinement.c index 7d4fdda2..3ab1950b 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -392,6 +392,7 @@ static double pr_iterate(Crystal *cr, const RefList *full, double I_partial; int k; double p, L, s; + double fx; Reflection *match; double gradients[num_params]; @@ -422,7 +423,6 @@ static double pr_iterate(Crystal *cr, const RefList *full, /* Calculate all gradients for this reflection */ for ( k=0; k