gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] assertion failure in semeai code


From: bump
Subject: Re: [gnugo-devel] assertion failure in semeai code
Date: Wed, 12 Mar 2003 14:05:13 -0800

Gunnar wrote:

> In the position in the appended sgf file, GNU Go fails an assertion in
> the board code, triggered from find_semeai_backfilling_move().

This patch fixing it is in the CVS.

Index: engine/owl.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/owl.c,v
retrieving revision 1.148
diff -u -r1.148 owl.c
--- engine/owl.c        7 Mar 2003 00:43:58 -0000       1.148
+++ engine/owl.c        12 Mar 2003 21:55:02 -0000
@@ -1115,7 +1115,7 @@
                   EMPTY, NO_MOVE)) {
       if (safe_move(liberty, other))
        result = fill;
-      else
+      else if (board[worm] != EMPTY)
        result = find_semeai_backfilling_move(worm, liberty);
       popgo();
     }




reply via email to

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