]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Don't save excluded move eval in TT
[stockfish] / src / search.cpp
index 3cf50eb57bef13e3fda837814754c30b3ac4af25..fef1b518160abf00e7e6e4ac14a7e656d2ed4046 100644 (file)
@@ -760,6 +760,7 @@ namespace {
             ss->staticEval = eval = -(ss-1)->staticEval;
 
         // Save static evaluation into transposition table
+        if(!excludedMove)
         tte->save(posKey, VALUE_NONE, ss->ttPv, BOUND_NONE, DEPTH_NONE, MOVE_NONE, eval);
     }