[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gnugo-devel] bugfix
From: |
bump |
Subject: |
Re: [gnugo-devel] bugfix |
Date: |
Tue, 12 Nov 2002 06:31:39 -0800 |
Paul wrote:
> now, this patch is very nice (unless i'm missing something as usually).
>
> regression delta is at least 2 "passes" in ld_owl.tst: 161, 302.
It seemed to me that we should do the following in In gtp_dragon_status,
though it passes only ld_owl:302 and not ld_owl:161.
Dan
Index: interface/play_gtp.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/interface/play_gtp.c,v
retrieving revision 1.99
diff -u -r1.99 play_gtp.c
--- interface/play_gtp.c 21 Oct 2002 03:31:35 -0000 1.99
+++ interface/play_gtp.c 12 Nov 2002 14:28:14 -0000
@@ -1845,16 +1845,18 @@
int i, j;
int str = NO_MOVE;
int pos;
+ int color = EMPTY;
if (gtp_decode_coord(s, &i, &j)) {
str = POS(i, j);
if (board[str] == EMPTY)
return gtp_failure("vertex must not be empty");
+ color = board[str];
}
else if (sscanf(s, "%*s") != EOF)
return gtp_failure("invalid coordinate");
- silent_examine_position(BLACK, EXAMINE_DRAGONS);
+ silent_examine_position(color, EXAMINE_DRAGONS);
gtp_start_response(GTP_SUCCESS);
- [gnugo-devel] Bugfix, Portela Fernand, 2002/11/10
- RE: [gnugo-devel] Bugfix, Portela Fernand, 2002/11/10
- [gnugo-devel] bugfix, Paul Pogonyshev, 2002/11/11
- Re: [gnugo-devel] bugfix,
bump <=
- Re: [gnugo-devel] bugfix, Arend Bayer, 2002/11/12
- Re: [gnugo-devel] bugfix, Gunnar Farneback, 2002/11/12
- Re: [gnugo-devel] bugfix, Paul Pogonyshev, 2002/11/12
- Re: [gnugo-devel] bugfix, Arend Bayer, 2002/11/15
- Re: [gnugo-devel] bugfix, Gunnar Farneback, 2002/11/19
- Re: [gnugo-devel] bugfix, Arend Bayer, 2002/11/30
RE: [gnugo-devel] Bugfix, Portela Fernand, 2002/11/11
RE: [gnugo-devel] bugfix, Portela Fernand, 2002/11/15