diff options
Diffstat (limited to 'src/symmetry.c')
-rw-r--r-- | src/symmetry.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/symmetry.c b/src/symmetry.c index 54b7f5cc..4178855d 100644 --- a/src/symmetry.c +++ b/src/symmetry.c @@ -34,7 +34,9 @@ static int check_cond(signed int h, signed int k, signed int l, const char *sym) if ( strcmp(sym, "1") == 0 ) return ( 1 ); if ( strcmp(sym, "-1") == 0 ) - return ( 1 ); + return ( (l>0) + || ( (l==0) && (k>0) ) + || ( (l==0) && (k==0) && (h>=0) ) ); if ( strcmp(sym, "6") == 0 ) return ( ((h>0) && (k>=0)) || ((h==0) && (k==0)) ); if ( strcmp(sym, "6/m") == 0 ) |