summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-06 22:34:01 -0500
committertslil <tslil@posteo.de>2021-01-06 22:34:01 -0500
commit62494468df16c1f31b7db32e0d96df65001aa735 (patch)
tree5f980580fc9c9ed54d194841fc2a28ef186b696f /src
parent303cf24a3012558f6e6e9f92d48aab2550de349f (diff)
Small tweaks
Diffstat (limited to 'src')
-rw-r--r--src/pptdb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pptdb.c b/src/pptdb.c
index 7a26ffd..7995219 100644
--- a/src/pptdb.c
+++ b/src/pptdb.c
@@ -98,8 +98,8 @@ parse_line(const char *pt, const ssize_t read) {
if (COUNT_AT(k)>1) heights[COUNT_AT(k)]+=1;
}
}
- // Generate training data
- if (generate) {
+ // Generate training data, not too early in the game
+ if (generate && ply > 10) {
write_input();
fprintf(training_fh,"%d\n", result);
}