diff options
| author | tslil clingman <tslil@posteo.de> | 2023-01-21 19:30:45 +0100 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 0e81096d5ecb6027814e7aae10b461e774f96407 (patch) | |
| tree | 6cedfe4b3fad3770a5210f5e5d5ad205c17f4b0f /src/ct1986.c | |
| parent | cb2b78ced27fc7996ed11c3450f69138d7d1b61f (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.c | 3 |
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); |
