From d6f0abbeaca67be117f901f2fec1e0ee015e364b Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 11 Jun 2010 10:49:14 -0700 Subject: SPOT --- src/peaks.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/peaks.c b/src/peaks.c index bdc99090..19894ca7 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -519,7 +519,6 @@ void output_intensities(struct image *image, UnitCell *cell, double bsx, bsy, bsz; double csx, csy, csz; double a, b, c, al, be, ga; - int n_hits = image->n_hits; struct reflhit *hits = image->hits; if ( image->n_hits == 0 ) find_projected_peaks(image, cell); @@ -555,7 +554,7 @@ void output_intensities(struct image *image, UnitCell *cell, printf("f0 = invalid\n"); } - for ( i=0; in_hits; i++ ) { float x, y, intensity; double d; @@ -625,7 +624,7 @@ void output_intensities(struct image *image, UnitCell *cell, f = image_get_feature(image->features, i); - for ( j=0; jn_hits; j++ ) { double d; -- cgit v1.2.3