From 72c5056c5aa614d9a86f8b760955cfcf96c44be4 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/ct1986.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ct1986.c') diff --git a/src/ct1986.c b/src/ct1986.c index 8a49ec1..d8b91db 100644 --- a/src/ct1986.c +++ b/src/ct1986.c @@ -30,7 +30,8 @@ static int human; static char *gamelog = 0; -tak_state_p state; +static struct tak_state_s state_s; +static tak_state_p state = &state_s; static void new_game(uint8_t size) { reset_state(state, size); -- cgit v1.3.1