diff options
author | Thomas White <taw@physics.org> | 2014-02-14 16:11:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-02-17 16:03:31 +0100 |
commit | 653cac3b7dd684a1b913b0007417762653d25a5a (patch) | |
tree | ad1e07aaacdd7d49524b37f28481946471b7995a /src | |
parent | b2d65cb9b307a321e88fb5ff88197580ca0c59e4 (diff) |
Lorentz factor should not depend on profile radius
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 0d6aad25..7ba8cd43 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 -ds*pow(get_lorentz(refl), 2.0) / crystal_get_profile_radius(cr); + return -ds*pow(get_lorentz(refl), 2.0) / LORENTZ_SCALE; } |