aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-07-31 17:07:37 +0200
committerThomas White <taw@physics.org>2013-07-31 17:09:36 +0200
commitbb98d82fdc16dff7374b19e572fe8a310136d34b (patch)
treeb285d381ab47ba00ef1e78189e9f1d610c63cfe3 /src/post-refinement.c
parent86dd02420afb7ef40e8a2b570f6751b7d56e47a3 (diff)
Refine divergence as well
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 b0e70e1f..b1d99c86 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -238,7 +238,7 @@ double l_gradient(Crystal *cr, int k, Reflection *refl, PartialityModel pmodel)
ds = 2.0 * resolution(crystal_get_cell(cr), hs, ks, ls);
- return 0.0; /* FIXME! */
+ return 2.0*crystal_get_profile_radius(cr)*ds;
}