aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-06-04 17:50:30 +0200
committerThomas White <taw@physics.org>2014-06-05 14:19:29 +0200
commitbcf9b4c9b49e9242146b0384657f3b7c26bc340a (patch)
tree84e0dd812402345568145ab63cb03bf5b6968906 /src/post-refinement.c
parentcfb9a9979cab8eacc4636a8360502c3d33c66f2a (diff)
partialator: Use reciprocal scale factors instead
Diffstat (limited to 'src/post-refinement.c')
-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 6e9250d0..535f7cff 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -513,7 +513,7 @@ static double pr_iterate(Crystal *cr, const RefList *full,
I_full = get_intensity(match);
/* Actual measurement of this reflection from this pattern? */
- I_partial = get_intensity(refl) * crystal_get_osf(cr);
+ I_partial = get_intensity(refl) / crystal_get_osf(cr);
p = get_partiality(refl);
l = get_lorentz(refl);