From: simon Date: Fri, 29 Apr 2005 08:11:01 +0000 (+0000) Subject: Correct block coordinate display when standalone solver shows its X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/commitdiff_plain/b37c4d5fbe069d01e927f6c1676691229215e554 Correct block coordinate display when standalone solver shows its working. git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5706 cda61777-01e9-0310-a592-d414129be87e --- 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);