gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Patch: inge_1_18.4b


From: Inge Wallin
Subject: [gnugo-devel] Patch: inge_1_18.4b
Date: Fri, 21 Dec 2001 08:54:25 +0100 (CET)

Patch inge_1_18.4 has a bug. Here is a corrected version which I call
inge_1_18.4b

        -Inge

Index: engine/move_reasons.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/move_reasons.c,v
retrieving revision 1.54
diff -u -r1.54 move_reasons.c
--- engine/move_reasons.c       21 Dec 2001 07:42:26 -0000      1.54
+++ engine/move_reasons.c       21 Dec 2001 07:51:25 -0000
@@ -2485,8 +2485,7 @@
   for (s = 0; s < num_adj; s++) {
     int adj = adjs[s];
 
-    if (dragon[adj].matcher_status == ALIVE
-       || dragon[adj].matcher_status == CRITICAL)
+    if (dragon[adj].matcher_status != DEAD)
       has_live_neighbor = 1;
 
     if (dragon[adj].matcher_status == DEAD



reply via email to

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