Ticket #145: oracle.c.patch

File oracle.c.patch, 0.8 kB (added by draqo, 2 years ago)
  • gnugo/engine/oracle.c

    RCS file: /sources/gnugo/gnugo/engine/oracle.c,v
    retrieving revision 1.19
    diff -u -r1.19 oracle.c
     
    350350  if (limit_search) { 
    351351    TELL_ORACLE("limit_search 1\n"); 
    352352    ASK_ORACLE; 
    353     for (pos = BOARDMIN; pos < BOARDMAX; pos++) 
     353    scan_board(pos, 
    354354      if (within_search_area(pos)) { 
    355355        if (debug & DEBUG_ORACLE_STREAM) 
    356356          gfprintf(stderr, "%oset_search_limit %1m\n", pos); 
    357357        gfprintf(to_gnugo_stream, "%oset_search_limit %1m\n", pos); 
    358358        fflush(to_gnugo_stream); 
    359359        ASK_ORACLE; 
    360       }  
     360      } 
     361        ) 
    361362  } 
    362363  count_variations = 1; 
    363364  move = do_metamachine_genmove(color, search_width(), value);