aboutsummaryrefslogtreecommitdiff
path: root/src/pptdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pptdb.c')
-rw-r--r--src/pptdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pptdb.c b/src/pptdb.c
index ecf5caa..557b894 100644
--- a/src/pptdb.c
+++ b/src/pptdb.c
@@ -198,7 +198,7 @@ int main(int argc, char **argv) {
reset_state(size);
// Store the outcome of this game. Black win = 1
if (line[read-4] == '0') outcome_black = 1;
- else outcome_black = 0;
+ else outcome_black = -1;
// Parse the line
r = parse_line(line,read-4);
// Adjust counts if we're not generating training data