/[gnugo]/gnugo/engine/influence.c
ViewVC logotype

Diff of /gnugo/engine/influence.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.100 by arend, Thu Apr 29 23:59:21 2004 UTC revision 1.101 by bump, Fri Apr 30 15:13:38 2004 UTC
# Line 1775  compute_escape_influence(int color, cons Line 1775  compute_escape_influence(int color, cons
1775    int k;    int k;
1776    int ii;    int ii;
1777    int save_debug = debug;    int save_debug = debug;
   VALGRIND_MAKE_WRITABLE(&escape_influence, sizeof(escape_influence));  
1778    
1779    /* IMPORTANT: The caching relies on the fact that safe_stones[] and    /* IMPORTANT: The caching relies on the fact that safe_stones[] and
1780     * strength[] will currently always be identical for identical board[]     * strength[] will currently always be identical for identical board[]
# Line 1787  compute_escape_influence(int color, cons Line 1786  compute_escape_influence(int color, cons
1786    
1787    int cache_number = (color == WHITE);    int cache_number = (color == WHITE);
1788    
1789      VALGRIND_MAKE_WRITABLE(&escape_influence, sizeof(escape_influence));
1790    
1791    if (!goal) {    if (!goal) {
1792      /* Encode the values of color and dragons_known into an integer      /* Encode the values of color and dragons_known into an integer
1793       * between 0 and 3.       * between 0 and 3.

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26