~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Increase by 1 in every direction the size of the blitter used to save
[sgt/puzzles]
/
solo.c
diff --git
a/solo.c
b/solo.c
index
766adde
..
7062194
100644
(file)
--- a/
solo.c
+++ b/
solo.c
@@
-1473,7
+1473,7
@@
static int solver_killer_sums(struct solver_usage *usage, int b,
}
assert(nsquares > 0);
}
assert(nsquares > 0);
- if (nsquares > 4)
+ if (nsquares
< 2 || nsquares
> 4)
return 0;
if (!cage_is_region) {
return 0;
if (!cage_is_region) {
@@
-2041,7
+2041,7
@@
static void solver(int cr, struct block_structure *blocks,
);
if (ret > 0) {
changed = TRUE;
);
if (ret > 0) {
changed = TRUE;
- kdiff = max(kdiff, DIFF_K
INTERSECT
);
+ kdiff = max(kdiff, DIFF_K
SUMS
);
} else if (ret < 0) {
diff = DIFF_IMPOSSIBLE;
goto got_result;
} else if (ret < 0) {
diff = DIFF_IMPOSSIBLE;
goto got_result;