From: Ian Jackson Date: Sat, 8 Mar 2014 17:32:18 +0000 (+0000) Subject: in preconsider_ok, check for frags >= maxhamweight so we can force this to pass by... X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=matchsticks-search.git;a=commitdiff_plain;h=f133b2f3b3a6ccaedeced7420b68a0ae5918cf22;hp=502873ccf62c4b63f1506c02b8f3e9096f682195 in preconsider_ok, check for frags >= maxhamweight so we can force this to pass by setting maxhamweight --- diff --git a/main.c b/main.c index f9402cf..0cc8d9b 100644 --- a/main.c +++ b/main.c @@ -124,7 +124,7 @@ static bool preconsider_ok(int nwords, bool doprint) { bool had_max = 0; for (i=0, totalfrags=0; i= maxhamweight); totalfrags += frags; PRINTF("%"PRADJ" ", adjmatrix[i]); double maxminsize = (double)m / frags;