diff options
author | Thomas White <taw@physics.org> | 2012-11-30 11:00:23 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-11-30 11:00:23 +0100 |
commit | 0211244120eb84aced1f8d1785e31ca29943dafa (patch) | |
tree | e229f2b3c1a1ab8193e0e12ea6540afc9f557ad1 /src/check_hkl.c | |
parent | 0537442509a01e70c29f980752f440c3716d1e23 (diff) |
check_hkl: Take forbidden reflections into account when calculating completeness
Diffstat (limited to 'src/check_hkl.c')
-rw-r--r-- | src/check_hkl.c | 2 |
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]) ) { |