]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Moved the code for extracting the PV from the TT to tt.cpp, where
[stockfish] / src / search.cpp
index f0d2431487641dc765f5c56d1a7a029f7cf439ef..15757c3a9ae7c025cc02f5c616380cc00976fc29 100644 (file)
@@ -975,6 +975,7 @@ namespace {
             // Update PV
             rml.set_move_score(i, value);
             update_pv(ss, 0);
+            TT.extract_pv(pos, ss[0].pv);
             rml.set_move_pv(i, ss[0].pv);
 
             if (MultiPV == 1)
@@ -2430,7 +2431,7 @@ namespace {
   }
 
 
-  // slowdown() simply wastes CPU cycles doing nothing useful.  It's used
+  // slowdown() simply wastes CPU cycles doing nothing useful. It's used
   // in strength handicap mode.
 
   void slowdown(const Position &pos) {