storing to TT after checking if search stopped | bench 684523
This commit is contained in:
1 parent
600d50b91f
commit
68b5168a40
1 file changed
+1
-1
+1
-1
@@ -303,8 +303,8 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove);
|
|
||||||
if (searchStopped) return 0;
|
if (searchStopped) return 0;
|
||||||
|
TT.WriteEntry(board.hashKey, depth, results.score, nodeType, results.bestMove);
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user