diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-11 10:47:23 -0700 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-11 10:47:23 -0700 |
commit | 58d7328f3fc327289b7a24f91124372db3e9b730 (patch) | |
tree | 3e552c21f4cdbc3d34833ed8ea988be61fc29004 /src/peaks.c | |
parent | 55a8ef0689f4a4af33c7efa41614dcad12ea47da (diff) |
Sigh
Diffstat (limited to 'src/peaks.c')
-rw-r--r-- | src/peaks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/peaks.c b/src/peaks.c index 9d6634b7..bdc99090 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -522,7 +522,7 @@ void output_intensities(struct image *image, UnitCell *cell, int n_hits = image->n_hits; struct reflhit *hits = image->hits; - if ( image->n_hits != 0 ) find_projected_peaks(image, cell); + if ( image->n_hits == 0 ) find_projected_peaks(image, cell); if ( image->n_hits == 0 ) return; /* Get exclusive access to the output stream if necessary */ |