chiark / gitweb /
Script to tabulate results as a web page.
[matchsticks-search.git] / main.c
diff --git a/main.c b/main.c
index 5850860..96f945c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -796,7 +796,7 @@ static void report(void) {
           if (ai[i][j] > 0 && ai[i][j] < imin)
             imin = ai[i][j];
 
-      if ((double)imin / d < min)
+      if (abs((double)imin / d - min) > 1e-10)
         goto next_d;
 
       /*