aboutsummaryrefslogtreecommitdiff
path: root/src/check_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/check_hkl.c')
-rw-r--r--src/check_hkl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/check_hkl.c b/src/check_hkl.c
index 00a03dcb..8e171904 100644
--- a/src/check_hkl.c
+++ b/src/check_hkl.c
@@ -167,6 +167,8 @@ static void plot_shells(RefList *list, UnitCell *cell, const SymOpList *sym,
d = 2.0 * resolution(cell, h, k, l);
+ if ( forbidden_reflection(cell, h, k, l) ) continue;
+
bin = -1;
for ( i=0; i<NBINS; i++ ) {
if ( (d>rmins[i]) && (d<=rmaxs[i]) ) {