aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-11 22:36:35 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:14 +0100
commitd484070b401124dfde08801c8e56458a42335b70 (patch)
treecc8cb1e5f13c4208de5abb2b0af2eb0799b210ef /src/geometry.c
parent94495fe2d0319c12061739f5a2d2762d08702075 (diff)
Actually, don't ignore the central beam
It shouldn't appear anywhere on the detector anyway, so let's not make a special case of it.
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/geometry.c b/src/geometry.c
index aabb269d..ae0e643d 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -248,8 +248,6 @@ RefList *find_intersections(struct image *image, UnitCell *cell,
for ( h=-hmax; h<hmax; h++ ) {
for ( k=-kmax; k<kmax; k++ ) {
for ( l=-lmax; l<lmax; l++ ) {
- /* Ignore central beam */
- if ( (h==0) && (k==0) && (l==0) ) continue;
check_reflection(image, mres, output, reflections, h, k, l,
asx,asy,asz,bsx,bsy,bsz,csx,csy,csz);
}