From 2cfcbecc2effde939f10789949ab4c8f4a3e2cd9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 27 Jun 2011 11:40:01 +0200 Subject: Can't set redundancy on a reflection which doesn't exist --- src/hrs-scaling.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/hrs-scaling.c') diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index 85ac1878..cbae682c 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -426,11 +426,10 @@ static RefList *lsq_intensities(struct image *images, int n, } - set_redundancy(new, redundancy); - if ( !isnan(num/den) ) { new = add_refl(full, it->h, it->k, it->l); set_int(new, num/den); + set_redundancy(new, redundancy); } else { ERROR("Couldn't calculate LSQ full intensity for" "%3i %3i %3i\n", it->h, it->k, it->l); -- cgit v1.2.3