From baf954a36232aa459f01e7ca74d1fdacb7f6a93b Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Thu, 8 Apr 2010 23:09:11 +0200 Subject: [PATCH] uct_genmoves(): played_own must not include base_playouts. --- uct/slave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/slave.c b/uct/slave.c index 98d726a..60fd6aa 100644 --- a/uct/slave.c +++ b/uct/slave.c @@ -237,7 +237,7 @@ uct_genmoves(struct engine *e, struct board *b, struct time_info *ti, enum stone int played_games = uct_search_games(&s); uct_search_progress(u, b, color, u->t, ti, &s, played_games); - u->played_own = played_games; + u->played_own = played_games - s.base_playouts; bool keep_looking = !uct_search_check_stop(u, b, color, u->t, ti, &s, played_games); coord_t best_coord; -- 2.11.4.GIT