gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] a bug


From: Wolfgang Manner
Subject: [gnugo-devel] a bug
Date: Sun, 11 Jan 2004 18:17:03 +0100 (CET)

Friends!

please call the following interesting game garbage.sgf :



(;GM[1]FF[4]
SZ[9]
GN[GNU Go 3.4 Random Seed 1072959396 level 10]
DT[2004-01-01]
KM[0.0]AP[GNU Go:3.4]RU[Japanese]HA[4]AB[cc][gc][cg][gg]
;W[eg];B[ge];W[ce]
(;B[hb]C[forced];W[gh];B[fh];W[hf];B[dh];W[gf];B[fg];W[ff];B[hg]
)
)

and load it with

gnugo -l garbage.sgf --mode ascii


now please type:

goto 4
forw

i apologise right away, if you dont get what i get

anyway i get:

***assertion failure:
board.c:964 - pos == PASS_MOVE || board[pos] == EMPTY near C5***

it seems to me the reason is that in a sgf sequence:

;A;B(;C

the parent of C comes out as A and it should be B.

you are alright, since you never use SGFNode *parent

(except in goto ...)

i can write a fudge around that, but i guess one should really fix that

wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]