chiark / gitweb /
assertions are not true near the join
authorIan Jackson <ian@davenant.relativity.greenend.org.uk>
Mon, 31 Dec 2007 11:44:40 +0000 (11:44 +0000)
committerIan Jackson <ian@davenant.relativity.greenend.org.uk>
Mon, 31 Dec 2007 11:44:40 +0000 (11:44 +0000)
energy.c

index 89b56e2..3c76b0c 100644 (file)
--- a/energy.c
+++ b/energy.c
@@ -247,8 +247,6 @@ static double edgewise_vertex_displacement_cost(const Vertices vertices) {
   FOR_EDGE(pi,e,qi) {
     ri= EDGE_END2(pi,(e+1)%V6); if (ri<0) continue;
     si= EDGE_END2(pi,(e+5)%V6); if (si<0) continue;
-    /* assert(ri == EDGE_END2(qi,(e+2)%V6)); */
-    /* assert(si == EDGE_END2(qi,(e+4)%V6)); */
     
     K m[k]= (vertices[pi][k] + vertices[qi][k]) * 0.5;
     K mprime[k]= (vertices[ri][k] + vertices[si][k]) * 0.5;