aboutsummaryrefslogtreecommitdiff
path: root/src/ctlm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctlm.c')
-rw-r--r--src/ctlm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ctlm.c b/src/ctlm.c
index dc4a17e..c9844c1 100644
--- a/src/ctlm.c
+++ b/src/ctlm.c
@@ -401,11 +401,11 @@ help, info, load <file.ptn>, log, new, play (b|w), self-play, square\
} else if (!strcmp(line, "info")) {
print_info();
} else if (!strcmp(line, "eval")) {
- float eval = nn1986_evaluate_black_win(state) * 100;
+ float eval = (state->board_size == 5 ? five_nn_fn(state) : six_nn_fn(state))*100;
if (state->ply & 1) {
- printf("Black heuristic chance: %s%.2f%s\n", blk, eval, rst);
+ printf("Black heuristic: %s%.2f%s\n", blk, eval, rst);
} else {
- printf("White heruistic chance: %s%.2f%s\n", wht, -eval, rst);
+ printf("White heruistic: %s%.2f%s\n", wht, -eval, rst);
}
} else if (!strcmp(line, "log")) {
puts(gamelog);