From c3cd1873a2c912e9167c302475496a28cd8036ab Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 26 Jul 2010 19:19:16 +0200 Subject: Add comment --- src/symmetry.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/symmetry.c') diff --git a/src/symmetry.c b/src/symmetry.c index 4178855d..db42a855 100644 --- a/src/symmetry.c +++ b/src/symmetry.c @@ -82,6 +82,9 @@ void get_general_equiv(signed int h, signed int k, signed int l, { signed int i = -h-k; + /* The returned indices when idx=0 *must* be the same as the input. + * After that, the order does not matter. */ + if ( strcmp(sym, "1") == 0 ) { *he = h; *ke = k; *le = l; return; } -- cgit v1.2.3