aboutsummaryrefslogtreecommitdiff
path: root/src/ct1986.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/ct1986.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/ct1986.c')
-rw-r--r--src/ct1986.c3
1 files changed, 2 insertions, 1 deletions
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);