aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-09-29 12:01:25 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:00 +0100
commitdb5a9fb762bcda004ab11af63b741a2b97ea9028 (patch)
tree2bcd708543a2f15ad20197f2ac103fa2d8413ffe /src/peaks.c
parent04c24d2fda4465f99119ac87e518b7c28d904c1d (diff)
Sanity check no longer requires projected peaks
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/peaks.c b/src/peaks.c
index cd414782..385f3b83 100644
--- a/src/peaks.c
+++ b/src/peaks.c
@@ -556,9 +556,6 @@ int peak_sanity_check(struct image *image, UnitCell *cell,
double cx, cy, cz;
double alen, blen, clen;
- find_projected_peaks(image, cell, circular_domain, domain_r);
- if ( image->n_hits == 0 ) return 0; /* Failed sanity check: no peaks */
-
/* "Borrow" direction values to get reciprocal lengths */
cell_get_reciprocal(cell, &ax, &ay, &az, &bx, &by, &bz, &cx, &cy, &cz);
alen = modulus(ax, ay, az);