X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=6090233089bdcacd7d1f514507925e029e4730cf;hp=d3b229e67edd865091d85883688cbd28cb6926c2;hb=9429d2d028f91863c63b0072b64cc9da99823017;hpb=d44fa4608282b1742176929b65967e37572190ae;ds=sidebyside 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