aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-05-15 16:45:25 +0200
committerThomas White <taw@physics.org>2015-05-19 13:57:52 +0200
commiteb70c90909cd98278e6fa969078c0b710cc8149e (patch)
tree43f01d88a70f703684a520e26d69da4d42062334 /src
parentae19e1ccf4c31abcfaa543aba9fe792129e06d6e (diff)
p gradients
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c2
1 files changed, 1 insertions, 1 deletions
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;
}