summaryrefslogtreecommitdiff
path: root/src/pptdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pptdb.c')
-rw-r--r--src/pptdb.c4
1 files changed, 2 insertions, 2 deletions
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);
}