gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] GNU Go 3.5.5.


From: Arend Bayer
Subject: Re: [gnugo-devel] GNU Go 3.5.5.
Date: Mon, 31 May 2004 18:11:25 +0200 (CEST)


Gunnar wrote:

> The patch below solves the problem with nicklas3:401, which still
> persisted in 3.5.7. I leave it to Arend to explain why the posted
> patch arend_5_5.12 also contained this correction but never made it
> into CVS together with the rest of the patch.

> - bugfix in do_owl_analyze_semeai()

I don't know how I messed up with this but I do know that the snippet below
is missing from CVS, too.

Arend

- normalize apos, bpos in do_owl_analyze_semeai() to origin

--- owl.c.orig  2004-05-31 18:07:14.679114080 +0200
+++ owl.c       2004-05-31 18:07:52.812316952 +0200
@@ -576,6 +576,9 @@ do_owl_analyze_semeai(int apos, int bpos
   ASSERT1(board[apos] == owla->color, apos);
   ASSERT1(board[bpos] == owlb->color, bpos);
 
+  apos = find_origin(apos);
+  bpos = find_origin(bpos);
+
   if (stackp <= semeai_branch_depth && (hashflags & HASH_SEMEAI)
       && !pass && owl_phase
       && tt_get(&ttable, SEMEAI, apos, bpos, depth - stackp, NULL,




reply via email to

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