mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Small error in solver diagnostics.
[originally from svn r6402]
This commit is contained in:
2
tents.c
2
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",
|
printf("%s %d forces %s at %d,%d\n",
|
||||||
step==1 ? "row" : "column",
|
step==1 ? "row" : "column",
|
||||||
step==1 ? start/w : start,
|
step==1 ? start/w : start,
|
||||||
mrow[j] == TENT ? "tent" : "non-tent",
|
mthis[j] == TENT ? "tent" : "non-tent",
|
||||||
pos % w, pos / w);
|
pos % w, pos / w);
|
||||||
#endif
|
#endif
|
||||||
soln[pos] = mthis[j];
|
soln[pos] = mthis[j];
|
||||||
|
Reference in New Issue
Block a user