From: Petr Baudis Date: Mon, 13 Aug 2012 19:48:20 +0000 (+0200) Subject: uct_progress_json(): Remove extra curly braces around choice value X-Git-Tag: pachi-11.00-retsugen~65^2 X-Git-Url: https://repo.or.cz/w/pachi.git/commitdiff_plain/653c3cbc734ea9f8f0a280425dd43cff42f81e8c uct_progress_json(): Remove extra curly braces around choice value --- 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);