]> git.sesse.net Git - remoteglot-book/blobdiff - count.h
Update .gitignore.
[remoteglot-book] / count.h
diff --git a/count.h b/count.h
index 1d8043f9e0fb67b4391c1441532190eac7cd8870..8d843c7b70f2c968e7bac5e7189c14299e9e7d26 100644 (file)
--- a/count.h
+++ b/count.h
@@ -3,7 +3,8 @@ struct Count {
        int white = 0;
        int draw = 0;
        int black = 0;
-       int opening_num = -1;
-       float avg_white_elo = 0.0;
-       float avg_black_elo = 0.0;
+       unsigned int opening_num = 0;
+       unsigned long long sum_white_elo = 0;
+       unsigned long long sum_black_elo = 0;
+       int num_elo = 0;
 };