gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] arend_1_18.2: attack on defenseless stones corrected in es


From: Arend Bayer
Subject: [gnugo-devel] arend_1_18.2: attack on defenseless stones corrected in estimate_territorial_value
Date: Mon, 17 Dec 2001 16:54:02 +0100 (CET)

- debug output and valuation of attack on defenseless stones corrected

Oops, the second bug I mentioned yesterday was mostly a cosmetic problem.
This patch corrects the debug output and the secondary value to what I
guess was intended.

-Arend

Index: engine/move_reasons.c
========================================================================
--- engine/move_reasons.c.orig  Mon Dec 17 16:28:59 2001
+++ engine/move_reasons.c       Mon Dec 17 16:29:09 2001
@@ -2609,8 +2609,8 @@
       if (worm[aa].defend_codes[0] == 0) {
        DEBUG(DEBUG_MOVE_REASONS,
              "  %1m: %f (secondary) - attack on %1m (defenseless)\n",
-             pos, worm[aa].size, aa);
-       secondary_value += worm[aa].size;
+             pos, worm[aa].effective_size, aa);
+       secondary_value += worm[aa].effective_size;
        break;
       }
 




reply via email to

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