From 2caeaa9820be1fb3d3cb11bfc2a7433b9863f1c4 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 8 Oct 2009 01:05:25 +0200 Subject: [PATCH] Revert "uct_genmove(): If debug=3, print board before/after; removes need to -d 3" This reverts commit 73219040199b45672525b068b36a8d04e50e6e7f. --- uct/uct.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/uct/uct.c b/uct/uct.c index bddc662..967e037 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -377,10 +377,6 @@ uct_genmove(struct engine *e, struct board *b, enum stone color) /* Seed the tree. */ prepare_move(e, b, color, resign); - if (UDEBUGL(2)) { - board_print(b, stderr); - } - if (b->superko_violation) { fprintf(stderr, "!!! WARNING: SUPERKO VIOLATION OCCURED BEFORE THIS MOVE\n"); fprintf(stderr, "Maybe you play with situational instead of positional superko?\n"); @@ -436,10 +432,8 @@ uct_genmove(struct engine *e, struct board *b, enum stone color) tree_normalize(u->t, u->threads); } - if (UDEBUGL(2)) { + if (UDEBUGL(2)) tree_dump(u->t, u->dumpthres); - board_print(b, stderr); - } struct tree_node *best = u->policy->choose(u->policy, u->t->root, b, color); if (!best) { -- 2.11.4.GIT