chiark / gitweb /
Correct kdiff setting.
authorSimon Tatham <anakin@pobox.com>
Thu, 2 Feb 2012 23:04:46 +0000 (23:04 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 2 Feb 2012 23:04:46 +0000 (23:04 +0000)
[originally from svn r9403]

solo.c

diff --git a/solo.c b/solo.c
index 69878721a8ba396ca5f4164caca3f34bdb366d07..70621948c3ed3f5bec3c921d8777e51608663537 100644 (file)
--- a/solo.c
+++ b/solo.c
@@ -2041,7 +2041,7 @@ static void solver(int cr, struct block_structure *blocks,
                                             );
                if (ret > 0) {
                    changed = TRUE;
-                   kdiff = max(kdiff, DIFF_KINTERSECT);
+                   kdiff = max(kdiff, DIFF_KSUMS);
                } else if (ret < 0) {
                    diff = DIFF_IMPOSSIBLE;
                    goto got_result;