From 3d80f0d22697a83026580de5580dcdaa865ab048 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 6 Oct 2010 15:16:32 +0200 Subject: Fussiness --- src/get_hkl.c | 6 +++--- src/symmetry.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3