aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/post-refinement.c2
-rw-r--r--src/post-refinement.h2
2 files changed, 2 insertions, 2 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;
}
diff --git a/src/post-refinement.h b/src/post-refinement.h
index 5e0c184f..bdd1eb10 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -55,8 +55,8 @@ enum {
REF_CSX,
REF_CSY,
REF_CSZ,
- NUM_PARAMS,
REF_DIV,
+ NUM_PARAMS,
REF_R,
};