aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;
}