diff options
-rw-r--r-- | src/peaks.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/peaks.c b/src/peaks.c index 23f13e61..4afd0129 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -404,12 +404,6 @@ void output_intensities(struct image *image, UnitCell *cell) float x, y, intensity; - /* Bounds check */ - if ( hits[i].x + 3 >= image->width ) continue; - if ( hits[i].x - 3 < 0 ) continue; - if ( hits[i].y + 3 >= image->height ) continue; - if ( hits[i].y - 3 < 0 ) continue; - integrate_peak(image, hits[i].x, hits[i].y, &x, &y, &intensity); /* Write h,k,l, integrated intensity and centroid coordinates */ |