aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2010-06-11 10:47:23 -0700
committerThomas White <taw@bitwiz.org.uk>2010-06-11 10:47:23 -0700
commit58d7328f3fc327289b7a24f91124372db3e9b730 (patch)
tree3e552c21f4cdbc3d34833ed8ea988be61fc29004 /src/peaks.c
parent55a8ef0689f4a4af33c7efa41614dcad12ea47da (diff)
Sigh
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c2
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 */