From 0211244120eb84aced1f8d1785e31ca29943dafa Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 30 Nov 2012 11:00:23 +0100 Subject: check_hkl: Take forbidden reflections into account when calculating completeness --- src/check_hkl.c | 2 ++ 1 file changed, 2 insertions(+) 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; irmins[i]) && (d<=rmaxs[i]) ) { -- cgit v1.2.3