aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/reflist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reflist.c b/src/reflist.c
index d23b952c..d6773a09 100644
--- a/src/reflist.c
+++ b/src/reflist.c
@@ -577,6 +577,10 @@ Reflection *add_refl(RefList *list, signed int h, signed int k, signed int l)
{
Reflection *new;
+ assert(abs(h)<256);
+ assert(abs(k)<256);
+ assert(abs(l)<256);
+
new = new_node(SERIAL(h, k, l));
if ( list->head == NULL ) {