diff options
author | Thomas White <taw@physics.org> | 2011-06-24 23:14:32 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:30 +0100 |
commit | 9110bcfa0edec740eb006af389031caec8cfd37e (patch) | |
tree | 636b1c7cb730d2d38113fd783418532170313618 /src/hrs-scaling.c | |
parent | ac65847e3af4c36e9a74858d747d4be1c47e21b5 (diff) |
Mark reflections which couldn't be scaled with redundancy=0
Diffstat (limited to 'src/hrs-scaling.c')
-rw-r--r-- | src/hrs-scaling.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c index cbae682c..85ac1878 100644 --- a/src/hrs-scaling.c +++ b/src/hrs-scaling.c @@ -426,10 +426,11 @@ 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); |