aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-07-26 19:19:16 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:54 +0100
commitc3cd1873a2c912e9167c302475496a28cd8036ab (patch)
tree6adfc4bc4f04e621d801a5e98d368a959e1b1b5d /src
parent2f36611ec798cdbd00ace4da0a3fe2449d2bf16d (diff)
Add comment
Diffstat (limited to 'src')
-rw-r--r--src/symmetry.c3
1 files changed, 3 insertions, 0 deletions
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;
}