diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/post-refinement.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index 3082aa74..3716d728 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 2.0*crystal_get_profile_radius(cr)*ds; + return -ds*pow(get_lorentz(refl), 2.0) / crystal_get_profile_radius(cr); } |