gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Reading bug


From: Evan Berggren Daniel
Subject: [gnugo-devel] Reading bug
Date: Sat, 9 Nov 2002 16:56:08 -0500 (EST)

I think this is a small reading typo in find_defense.


Thanks

Evan Daniel

Index: engine/reading.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/reading.c,v
retrieving revision 1.83
diff -u -r1.83 reading.c
--- engine/reading.c    20 Oct 2002 10:05:39 -0000      1.83
+++ engine/reading.c    9 Nov 2002 21:51:58 -0000
@@ -1026,7 +1026,7 @@
   liberties = countlib(str);

   if (liberties > 4
-      || (liberties == 4 && stackp > depth)
+      || (liberties == 4 && stackp > fourlib_depth)
       || (liberties == 3 && stackp > depth)) {
     /* No need to cache the result in these cases. */
     SGFTRACE(0, WIN, "too many liberties or stackp > depth");





reply via email to

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