gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] testing the 1-D boardcode: BOARD_OFFSET


From: Daniel Bump
Subject: Re: [gnugo-devel] testing the 1-D boardcode: BOARD_OFFSET
Date: Sun, 28 Apr 2002 08:29:26 -0700

Teun wrote:

> If all goes well, the 1-D board should be handled through
> the macros in liberty.h only. The idea behind this patch
> is that handling of the 1-D board can be tested by
> introducing a BOARD_OFFSET in liberty.h. BOARD_OFFSET=0
> gives the standard situation. BOARD_OFFSET>0 can be
> used for testing.
> 
> Currently Gnu Go crashes in the first reading test when
> BOARD_OFFSET = 1.

It seems dangerous to define PASS_MOVE to be other than
zero. It could be hard to track down all the places where
this is assumed.

If don't try to define PASS_MOVE to be nonzero, the patch
still produces crashes however, the first in reading test 5.

Dan





reply via email to

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