From eb70c90909cd98278e6fa969078c0b710cc8149e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 15 May 2015 16:45:25 +0200 Subject: p gradients --- src/post-refinement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/post-refinement.c b/src/post-refinement.c index 49eb12b1..d314b536 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -235,7 +235,7 @@ double gradient(Crystal *cr, int k, Reflection *refl, PartialityModel pmodel) } gr = r_gradient(crystal_get_cell(cr), k, refl, image) * (glow-ghigh); - return gr * osf; + return gr/p; } -- cgit v1.2.3