chiark
/
gitweb
/
~bjharris
/
bedstead-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
537479b
)
Another assertion.
author
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 17 Jul 2017 22:23:44 +0000
(23:23 +0100)
committer
Ben Harris
<bjh21@bjh21.me.uk>
Mon, 17 Jul 2017 22:23:44 +0000
(23:23 +0100)
bedstead.c
patch
|
blob
|
history
diff --git
a/bedstead.c
b/bedstead.c
index cc9b71b868a4501f71f2fca10a56ac4b14e01a0f..f47f521b43324328798e43f412208a27125f8909 100644
(file)
--- 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 */