From cced355ae4a78b099aafdd6273ee7e7dbb438bca Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 11 Feb 2011 22:21:45 -0800 Subject: Add useful assert()s --- src/reflist.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/reflist.c') diff --git a/src/reflist.c b/src/reflist.c index e73ae2fa..e9aedaaf 100644 --- a/src/reflist.c +++ b/src/reflist.c @@ -148,6 +148,10 @@ Reflection *find_refl(RefList *list, INDICES) } else { + assert(search == refl->serial); + assert(h == refl->data.h); + assert(k == refl->data.k); + assert(l == refl->data.l); return refl; } -- cgit v1.2.3