diff options
author | Thomas White <taw@physics.org> | 2011-06-27 10:11:08 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:28 +0100 |
commit | 03549bb3dc974de064daa9747fd952a7e53cb9ce (patch) | |
tree | dc17cfaf72a0124f49e2198295b4a122d22a9b5e | |
parent | f17c83d14c7dc5c327a7896e1c3f88ab0efe379e (diff) |
Make sure redundancy gets set to zero when integrating peaks on ignored panels
-rw-r--r-- | src/peaks.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/peaks.c b/src/peaks.c index 0592ba9b..663ed17f 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -534,14 +534,10 @@ void integrate_reflections(struct image *image, int polar, int use_closer, int idx; double bg, max; double sigma; - struct panel *p; double pfs, pss; int r; get_detector_pos(refl, &pfs, &pss); - p = find_panel(image->det, pfs, pss); - if ( p == NULL ) continue; - if ( p->no_index ) continue; /* Is there a really close feature which was detected? */ if ( use_closer ) { |