From 653c3cbc734ea9f8f0a280425dd43cff42f81e8c Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Mon, 13 Aug 2012 21:48:20 +0200 Subject: [PATCH] uct_progress_json(): Remove extra curly braces around choice value --- uct/walk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uct/walk.c b/uct/walk.c index 6a3e7d0..6cec36d 100644 --- a/uct/walk.c +++ b/uct/walk.c @@ -96,7 +96,7 @@ uct_progress_json(struct uct *u, struct tree *t, enum stone color, int playouts, if (final) { /* Final move choice */ - fprintf(stderr, ", \"choice\": {\"%s\"}", + fprintf(stderr, ", \"choice\": \"%s\"", coord2sstr(*final, t->board)); } else { struct tree_node *best = u->policy->choose(u->policy, t->root, t->board, color, resign); -- 2.11.4.GIT