aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-16 16:00:08 +0200
committerThomas White <taw@physics.org>2015-07-16 16:00:08 +0200
commitdfae52adb31496c6780383199ef0332989fbccba (patch)
treed0d7dae63f7fb9b305f22b7299ca19729fd0e04a /src
parent2c71300c927209b55886e2c5398e5a9c87b78ba3 (diff)
partialator: Don't merge reflections where isnan(corr)
Diffstat (limited to 'src')
-rw-r--r--src/merge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/merge.c b/src/merge.c
index 1595aea3..97d7762c 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -169,6 +169,8 @@ static void run_merge_job(void *vwargs, int cookie)
ERROR("G = %f, B = %e\n", G, B);
ERROR("res = %e\n", res);
ERROR("p = %f\n", get_partiality(refl));
+ unlock_reflection(f);
+ continue;
}
esd = get_esd_intensity(refl) * corr;