chiark / gitweb /
improve maxminsize thing
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 Mar 2014 16:37:47 +0000 (16:37 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 7 Mar 2014 16:37:47 +0000 (16:37 +0000)
main.c

diff --git a/main.c b/main.c
index 9732659..006c071 100644 (file)
--- a/main.c
+++ b/main.c
@@ -58,7 +58,7 @@ static void optimise(int doprint) {
     totalfrags += frags;
     PRINTF("%"PRADJ" ", adjmatrix[i]);
     double maxminsize = (double)m / frags;
-    if (maxminsize < best) {
+    if (maxminsize <= best) {
       PRINTF(" too fine");
       goto out;
     }