aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-06 15:16:32 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:01 +0100
commit3d80f0d22697a83026580de5580dcdaa865ab048 (patch)
treed6708a91ce0b8f54b1a368404c4115614464abac /src
parente71349f39bf7bdecfc0ecd0112e99342ad2a9b40 (diff)
Fussiness
Diffstat (limited to 'src')
-rw-r--r--src/get_hkl.c6
-rw-r--r--src/symmetry.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index 948b88eb..f59853b6 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -123,9 +123,9 @@ static ReflItemList *twin_reflections(double *ref, ReflItemList *items,
it = get_item(items, i);
/* There is a many-to-one correspondence between reflections
- * in the merohedral and holohedral unit cells. Do the
- * calculation only once for each reflection in the holohedral
- * cell, which contains fewer reflections.
+ * in the merohedral and holohedral groups. Do the calculation
+ * only once for each reflection in the holohedral group, which
+ * contains fewer reflections.
*/
get_asymm(it->h, it->k, it->l, &h, &k, &l, holo);
if ( find_item(new, h, k, l) ) continue;
diff --git a/src/symmetry.c b/src/symmetry.c
index ee6aa8ac..582fd1b1 100644
--- a/src/symmetry.c
+++ b/src/symmetry.c
@@ -413,6 +413,8 @@ ReflItemList *get_twins(ReflItemList *items, const char *holo, const char *mero)
actual = num_items(ops);
expected = num_general_equivs(holo) / num_general_equivs(mero);
if ( actual != expected ) {
+ ERROR("Found %i twin possibilities, but expected %i.\n",
+ actual, expected);
ERROR("I couldn't find the number of twin laws that I expected."
" This is an internal error, and shouldn't happen. "
"Sorry.\n");