[computer-go] Fast Board implementation

Łukasz Lew lukasz.lew at gmail.com
Fri Dec 15 09:38:11 PST 2006


On 12/15/06, steve uurtamo <apoxonpoo at yahoo.com> wrote:
> > if (is_player (color_at[v]))
> >   chain_at[v].find_root ()->inc_lib_cnt ();
> >
> > I removed the if
> >
> > chain_at[v].find_root ()->inc_lib_cnt ();
> >
> > And added some code elsewhere to make it correct.
>
> so it wasn't the "is_player"?

Oh, sorry I forgot.

static bool is_player (t color) { return (color & (~1)) == 0; }

This is 1 CC so I don't think so. :)

Lukasz
>
> s.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> computer-go mailing list
> computer-go at computer-go.org
> http://www.computer-go.org/mailman/listinfo/computer-go/
>


More information about the computer-go mailing list