From d8759d9487e56b6b8f6b73d33f9ff9f823b2b41b Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Fri, 2 Oct 2009 16:22:33 +0200 Subject: [PATCH] uct_prior_eye(), uct_prior_b19(): Don't consider pass --- uct/prior.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uct/prior.c b/uct/prior.c index b31efa7..7a050f1 100644 --- a/uct/prior.c +++ b/uct/prior.c @@ -41,7 +41,7 @@ uct_prior_eye(struct uct *u, struct tree_node *node, struct prior_map *map) * XOOOXX# * X.OOOO# * .XXXX.# */ - foreach_point_and_pass(map->b) { + foreach_point(map->b) { if (!map->consider[c]) continue; if (!board_is_one_point_eye(map->b, &c, map->to_play)) @@ -56,7 +56,7 @@ uct_prior_b19(struct uct *u, struct tree_node *node, struct prior_map *map) { /* Q_{b19} */ /* Specific hints for 19x19 board - priors for certain edge distances. */ - foreach_point_and_pass(map->b) { + foreach_point(map->b) { if (!map->consider[c]) continue; int d = coord_edge_distance(c, map->b); -- 2.11.4.GIT