gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] GTP GnuGo and small boards


From: Teun Burgers
Subject: [gnugo-devel] GTP GnuGo and small boards
Date: Mon, 08 Oct 2001 18:17:58 +0200

This patch adds an assertion to revise_semeai
that is triggered when boardsize==4 with genmove_black.

Teun

--- gnugo-3.1.9/engine/semeai.c Mon Oct  1 19:04:58 2001
+++ gx319x/engine/semeai.c      Mon Oct  8 14:38:43 2001
@@ -717,6 +717,8 @@
   int found_one = 0;
   int other = OTHER_COLOR(color);
 
+  gg_assert(dragon2 != NULL);
+
   for (m = 0; m < board_size; m++)
     for (n = 0; n < board_size; n++) {
       if (DRAGON2(m, n).semeai



reply via email to

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