aboutsummaryrefslogtreecommitdiff
path: root/src/check_hkl.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-11-30 11:00:23 +0100
committerThomas White <taw@physics.org>2012-11-30 11:00:23 +0100
commit0211244120eb84aced1f8d1785e31ca29943dafa (patch)
treee229f2b3c1a1ab8193e0e12ea6540afc9f557ad1 /src/check_hkl.c
parent0537442509a01e70c29f980752f440c3716d1e23 (diff)
check_hkl: Take forbidden reflections into account when calculating completeness
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]) ) {