aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-04-29 08:11:01 +0000
committerSimon Tatham <anakin@pobox.com>2005-04-29 08:11:01 +0000
commitd55d0b53f3f14e34246987af38263ba88470875a (patch)
tree8586b06882ac8de58e87332ba434d6918d1c0a30
parentdf133c2297d2a789fb29bf344edc9d32275016d5 (diff)
downloadpuzzles-d55d0b53f3f14e34246987af38263ba88470875a.zip
puzzles-d55d0b53f3f14e34246987af38263ba88470875a.tar.gz
puzzles-d55d0b53f3f14e34246987af38263ba88470875a.tar.bz2
puzzles-d55d0b53f3f14e34246987af38263ba88470875a.tar.xz
Correct block coordinate display when standalone solver shows its
working. [originally from svn r5706]
-rw-r--r--solo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solo.c b/solo.c
index 87f1e74..f6d28ec 100644
--- a/solo.c
+++ b/solo.c
@@ -1116,7 +1116,7 @@ static int nsolve(int c, int r, digit *grid)
#ifdef STANDALONE_SOLVER
, "intersectional analysis,"
" row %d vs block (%d,%d)",
- 1+YUNTRANS(y), 1+x, 1+y%r
+ 1+YUNTRANS(y), 1+x/r, 1+y%r
#endif
) ||
nsolve_intersect(usage, cubepos(x,y%r,n), r*cr,
@@ -1124,7 +1124,7 @@ static int nsolve(int c, int r, digit *grid)
#ifdef STANDALONE_SOLVER
, "intersectional analysis,"
" block (%d,%d) vs row %d",
- 1+x, 1+y%r, 1+YUNTRANS(y)
+ 1+x/r, 1+y%r, 1+YUNTRANS(y)
#endif
))) {
diff = max(diff, DIFF_INTERSECT);