aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hrs-scaling.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index f5067ea9..c2b23aa6 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -327,6 +327,11 @@ static void run_merge_job(void *vwargs, int cookie)
res = resolution(crystal_get_cell(cr), h, k, l);
+ if ( 2.0*res > crystal_get_resolution_limit(cr) ) {
+ unlock_reflection(f);
+ continue;
+ }
+
/* Total (multiplicative) correction factor */
corr = exp(-G) * exp(B*res*res) * get_lorentz(refl)
/ get_partiality(refl);