diff options
Diffstat (limited to 'src/uci.cpp')
| -rw-r--r-- | src/uci.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/uci.cpp b/src/uci.cpp index b4e384a..b45df57 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -45,8 +45,9 @@ Move UciToMove(string uci) { return {from, to}; } -Game initBoard(string startingFEN, - std::unordered_map<uint64_t, float> *transPositions) { +Game initBoard( + string startingFEN, + std::unordered_map<uint64_t, TranspositionsEntry> *transPositions) { Game b{}; b.enPassant = IndexToPosition(0); // default value b.canEnpassant = false; @@ -71,7 +72,7 @@ Game initBoard(string startingFEN, return b; }; void Uci() { - unordered_map<uint64_t, float> transpositions = {}; + unordered_map<uint64_t, TranspositionsEntry> transpositions = {}; Game game = initBoard("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1", &transpositions); |
