]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.h
Introduce Score struct
[stockfish] / src / evaluate.h
index 2531182af244a95fe55cba173cbb5762b6568b63..a7a39a49c498fd25ff12f1c6d2aa30db032770ee 100644 (file)
@@ -25,6 +25,8 @@
 //// Includes
 ////
 
+#include <iostream>
+
 #include "material.h"
 #include "pawns.h"
 
@@ -46,7 +48,7 @@ class Position;
 struct EvalInfo {
 
   // Middle game and endgame evaluations
-  Value mgValue, egValue;
+  Score value;
 
   // Pointers to material and pawn hash table entries
   MaterialInfo* mi;