~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to run solver_killer_sums on a Killer cage with only one
[sgt/puzzles]
/
bridges.c
diff --git
a/bridges.c
b/bridges.c
index
5860e0c
..
6a677e3
100644
(file)
--- a/
bridges.c
+++ b/
bridges.c
@@
-1505,11
+1505,11
@@
static int solve_island_stage3(struct island *is, int *didsth_r)
if (maxb == 0) {
debug(("...adding NOLINE.\n"));
solve_join(is, i, -1, 0); /* we can't have any bridges here. */
if (maxb == 0) {
debug(("...adding NOLINE.\n"));
solve_join(is, i, -1, 0); /* we can't have any bridges here. */
- didsth = 1;
} else {
debug(("...setting maximum\n"));
solve_join(is, i, maxb, 1);
}
} else {
debug(("...setting maximum\n"));
solve_join(is, i, maxb, 1);
}
+ didsth = 1;
}
map_update_possibles(is->state);
}
}
map_update_possibles(is->state);
}