aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/post-refinement.c')
-rw-r--r--src/post-refinement.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index a92403da..523016d0 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -390,6 +390,9 @@ static double pr_iterate(Crystal *cr, const RefList *full,
Reflection *match;
double gradients[num_params];
+ /* If reflection is free-flagged, don't use it here */
+ if ( get_flag(refl) ) continue;
+
/* Find the full version */
get_indices(refl, &ha, &ka, &la);
match = find_refl(full, ha, ka, la);