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>2023-01-21 22:00:57 +0100
commit72c5056c5aa614d9a86f8b760955cfcf96c44be4 (patch)
tree6cedfe4b3fad3770a5210f5e5d5ad205c17f4b0f /src/cttei.c
parent24d590fb7fe501a59c9ee0268a956a6fbf4fa092 (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);