diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-02-11 22:21:45 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:14 +0100 |
commit | cced355ae4a78b099aafdd6273ee7e7dbb438bca (patch) | |
tree | cd9f5e28504e6640dcd665e97a2b0c83aabccd74 /src/reflist.c | |
parent | aab9901f18326214746402650179a13f22770118 (diff) |
Add useful assert()s
Diffstat (limited to 'src/reflist.c')
-rw-r--r-- | src/reflist.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |