aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-05-18 15:38:41 +0200
committerThomas White <taw@physics.org>2015-05-19 13:57:53 +0200
commit6d9bb7021a02efb881314bf8cbcb551e8eac4aaa (patch)
treede5ece34c8ef0f19df22ee271a6822d09cca31f9 /src/post-refinement.c
parent48daaeb56d995f2db90c056c403ca3d00a181184 (diff)
partialator: Add cross-validation pobs/pcalc graph
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);