aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-10-19 15:04:17 -0700
committerThomas White <taw@physics.org>2012-10-19 15:04:17 -0700
commit35661ec0fc657891de432fc1108ce14c0b8d4aab (patch)
tree0e42922c05a7b512130eafe5f28582c81a9e9ad0 /libcrystfel/src
parent73b9206e22099e5be9e0a17285cd271dace1b72d (diff)
Don't predict systematically absent reflections
D'oh
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/geometry.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/geometry.c b/libcrystfel/src/geometry.c
index 091b4fed..60fab488 100644
--- a/libcrystfel/src/geometry.c
+++ b/libcrystfel/src/geometry.c
@@ -255,6 +255,8 @@ RefList *find_intersections(struct image *image, UnitCell *cell)
Reflection *refl;
double xl, yl, zl;
+ if ( forbidden_reflection(cell, h, k, l) ) continue;
+
/* Get the coordinates of the reciprocal lattice point */
xl = h*asx + k*bsx + l*csx;
yl = h*asy + k*bsy + l*csy;