~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small error in solver diagnostics.
[sgt/puzzles]
/
tents.c
diff --git
a/tents.c
b/tents.c
index
b29fb22
..
dc22467
100644
(file)
--- a/
tents.c
+++ b/
tents.c
@@
-875,7
+875,7
@@
static int tents_solve(int w, int h, const char *grid, int *numbers,
printf("%s %d forces %s at %d,%d\n",
step==1 ? "row" : "column",
step==1 ? start/w : start,
- m
row
[j] == TENT ? "tent" : "non-tent",
+ m
this
[j] == TENT ? "tent" : "non-tent",
pos % w, pos / w);
#endif
soln[pos] = mthis[j];