aboutsummaryrefslogtreecommitdiff
path: root/src/cttei.c
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2023-01-21 19:30:45 +0100
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commit0e81096d5ecb6027814e7aae10b461e774f96407 (patch)
tree6cedfe4b3fad3770a5210f5e5d5ad205c17f4b0f /src/cttei.c
parentcb2b78ced27fc7996ed11c3450f69138d7d1b61f (diff)
might as well enable size 6
Same network architecture, same training principle. Predictably this is too slow. Also statically allocate state in driver programmes.
Diffstat (limited to 'src/cttei.c')
-rw-r--r--src/cttei.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cttei.c b/src/cttei.c
index f7fafa6..26250f8 100644
--- a/src/cttei.c
+++ b/src/cttei.c
@@ -137,7 +137,8 @@ int main(int argc, char **argv) {
fflush(stdout);
// Set default option
- tak_state_p state = new_tak_state(5);
+ struct tak_state_s state_s;
+ tak_state_p state = &state_s;
negamax_search_depth = 4;
negamax_init(5);
reset_state(state, 5);