From: Joona Kiiski Date: Sat, 6 Feb 2010 16:18:12 +0000 (+0200) Subject: Use posKey instead of pos.get_key() after NonPVIID X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=9429d2d028f91863c63b0072b64cc9da99823017 Use posKey instead of pos.get_key() after NonPVIID Signed-off-by: Marco Costalba --- diff --git a/src/search.cpp b/src/search.cpp index d3b229e6..60902330 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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