gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] minor bug in owl_substantial


From: Gunnar Farneback
Subject: [gnugo-devel] minor bug in owl_substantial
Date: Thu, 13 Feb 2003 20:55:20 +0100
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

This patch solves an obvious, but easy to miss, bug in
owl_substantial(). No effects on the regressions.

- bugfix in owl_substantial()

/Gunnar

Index: engine/owl.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/owl.c,v
retrieving revision 1.142
diff -u -r1.142 owl.c
--- engine/owl.c        1 Feb 2003 14:02:40 -0000       1.142
+++ engine/owl.c        13 Feb 2003 15:59:03 -0000
@@ -4739,7 +4739,7 @@
          && trymove(libs[k+1], owl->color, NULL, 0, EMPTY, 0)) {
        if (level >= 10)
          increase_depth_values();
-       owl->goal[libs[k]] = 1;
+       owl->goal[libs[k+1]] = 1;
        libs[k+1] = libs[k];
       }
       else {




reply via email to

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