From: Ben Harris Date: Mon, 17 Jul 2017 22:23:44 +0000 (+0100) Subject: Another assertion. X-Git-Tag: bedstead-002.000~127 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=563205261f0eb86b3e3e0e2fb129805c16b7c3e3;p=bedstead.git Another assertion. --- diff --git a/bedstead.c b/bedstead.c index cc9b71b..f47f521 100644 --- a/bedstead.c +++ b/bedstead.c @@ -1906,6 +1906,7 @@ join_ends(point *a, point *b) assert(a->prev != NULL); assert(b->prev == NULL); assert(b->next != NULL); + assert(vec_eqp(a->v, b->v)); a->next = b; b->prev = a; fix_identical(a); /* Will delete a */