1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Use posKey instead of pos.get_key() after NonPVIID

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski 2010-02-06 18:18:12 +02:00 committed by Marco Costalba
parent d44fa46082
commit 9429d2d028

View file

@ -1473,7 +1473,7 @@ namespace {
{
search(pos, ss, beta, Min(depth/2, depth-2*OnePly), ply, false, threadID);
ttMove = ss[ply].pv[ply];
tte = TT.retrieve(pos.get_key());
tte = TT.retrieve(posKey);
}
// Initialize a MovePicker object for the current position, and prepare