aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-03-05 14:24:39 +0100
committerThomas White <taw@physics.org>2014-03-05 14:24:39 +0100
commit388edd2e2d8ca6e457ecd653d2d5e65bd3eb39f3 (patch)
treed721d3762dd233d65a48f17dee550e17d4db85c9
parenta72c3c13881071dabaf43abbf25b7669505573ee (diff)
e->w
-rw-r--r--src/ambigator.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/ambigator.c b/src/ambigator.c
index d7ae18fe..5bc8e7d1 100644
--- a/src/ambigator.c
+++ b/src/ambigator.c
@@ -291,8 +291,8 @@ int main(int argc, char *argv[])
char *outfile = NULL;
char *s_sym_str = NULL;
SymOpList *s_sym;
- char *e_sym_str = NULL;
- SymOpList *e_sym;
+ char *w_sym_str = NULL;
+ SymOpList *w_sym;
SymOpList *amb;
int n_iter = 1;
int n_crystals, n_chunks, max_crystals;
@@ -340,7 +340,7 @@ int main(int argc, char *argv[])
break;
case 'w' :
- e_sym_str = strdup(optarg);
+ w_sym_str = strdup(optarg);
break;
case 'n' :
@@ -401,14 +401,14 @@ int main(int argc, char *argv[])
s_sym = get_pointgroup(s_sym_str);
free(s_sym_str);
- if ( e_sym_str == NULL ) {
- e_sym = NULL;
+ if ( w_sym_str == NULL ) {
+ w_sym = NULL;
amb = NULL;
} else {
- e_sym = get_pointgroup(e_sym_str);
- free(e_sym_str);
- if ( e_sym == NULL ) return 1;
- amb = get_ambiguities(s_sym, e_sym);
+ w_sym = get_pointgroup(w_sym_str);
+ free(w_sym_str);
+ if ( w_sym == NULL ) return 1;
+ amb = get_ambiguities(w_sym, s_sym);
if ( amb == NULL ) return 1;
STATUS("Ambiguity operations:\n");
describe_symmetry(amb);