From 0e81096d5ecb6027814e7aae10b461e774f96407 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Sat, 21 Jan 2023 19:30:45 +0100 Subject: might as well enable size 6 Same network architecture, same training principle. Predictably this is too slow. Also statically allocate state in driver programmes. --- src/cttei.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cttei.c') 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); -- cgit v1.2.3