From f5df4d3710c94822a6602a3e4936287ea5d61bab Mon Sep 17 00:00:00 2001 From: tslil Date: Fri, 15 Jan 2021 16:16:52 -0500 Subject: Changed function back to macro --- src/pptdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pptdb.c') diff --git a/src/pptdb.c b/src/pptdb.c index 345b995..5358885 100644 --- a/src/pptdb.c +++ b/src/pptdb.c @@ -9,7 +9,7 @@ uint64_t heights[16]; FILE *training_fh = NULL; int generate, outcome_black; -const int max_depth = 8; +const int max_depth = 6; static void write_input(void) { @@ -105,7 +105,7 @@ parse_line(const char *pt, const ssize_t read) { } } // Generate training data, not too early in the game - if (generate && ply + 7 > total_plies) { + if (generate && ply + 6 >= total_plies) { write_input(); fprintf(training_fh,"%d\n", outcome_black); } -- cgit v1.3.1