aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-12 14:16:52 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:53 +0100
commitd8f0c73f2ae0bc28a14a35023e54ad58d0a8f7ce (patch)
tree2cc56d35b1bdc36e3c533c98f3ee1cdb9755f158
parenta49936db5639852019ae3da23d0e5ee13a7315c2 (diff)
Fix Wyckoff letter 'a' in '6'
-rw-r--r--src/symmetry.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/symmetry.c b/src/symmetry.c
index ee8ead3c..6f3ce675 100644
--- a/src/symmetry.c
+++ b/src/symmetry.c
@@ -67,7 +67,7 @@ int num_equivs(signed int h, signed int k, signed int l, const char *sym)
if ( strcmp(sym, "-1") == 0 ) return 2;
if ( strcmp(sym, "6") == 0 ) {
- if ( (h==0) && (k==0) ) return 2; /* a */
+ if ( (h==0) && (k==0) ) return 1; /* a */
return 6; /* b */
}
@@ -115,7 +115,6 @@ void get_equiv(signed int h, signed int k, signed int l,
if ( (h==0) && (k==0) ) {
switch ( idx ) {
case 0 : *he = 0; *ke = 0; *le = l; return;
- case 1 : *he = 0; *ke = 0; *le = -l; return;
}
}
/* b */