aboutsummaryrefslogtreecommitdiff
path: root/include/negamax.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-09-16 20:10:33 +0100
committertslil <tslil@posteo.de>2026-09-16 21:02:53 +0100
commit1898add0142b70b3fef5af78a6f3d7399a3f2cd5 (patch)
treeef62b4d6b6f78a426248f7636a83b77cce5edaa4 /include/negamax.h
parent7f1566fb21dfe8c99bc770885cc2cc4e478e16b4 (diff)
fix tt issue for non-self-playHEADmain
A little subtle, but in non-self-play games sharing tt entries is incorrect. We must therefore key additionally on the evaulation function itself.
Diffstat (limited to 'include/negamax.h')
-rw-r--r--include/negamax.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/negamax.h b/include/negamax.h
index 7b32233..db5d640 100644
--- a/include/negamax.h
+++ b/include/negamax.h
@@ -49,7 +49,6 @@ void negamax_init(const uint8_t new_board_size);
* Override the leaf evaluation function (negamax_init picks one by
* board size).
*/
-typedef float (*nn_function)(tak_state_p);
void negamax_set_evaluator(const nn_function f);
void negamax_free(void);