mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 00:56:39 +08:00
Fix a compile error.
This commit is contained in:
@@ -286,7 +286,7 @@ Value evaluate(const Position& pos) {
|
|||||||
|
|
||||||
#if defined(USE_EVAL_HASH)
|
#if defined(USE_EVAL_HASH)
|
||||||
// evaluate hash tableにはあるかも。
|
// evaluate hash tableにはあるかも。
|
||||||
const Key key = pos.state()->key();
|
const Key key = pos.key();
|
||||||
ScoreKeyValue entry = *g_evalTable[key];
|
ScoreKeyValue entry = *g_evalTable[key];
|
||||||
entry.decode();
|
entry.decode();
|
||||||
if (entry.key == key) {
|
if (entry.key == key) {
|
||||||
|
|||||||
Reference in New Issue
Block a user