]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Pass TT move instead of Rml[0].pv[0] to MovePicker
[stockfish] / src / search.cpp
index a3238a33f37c965874b3998bc1e42b24af75d03a..e98ea81debb47f443ec70aefb3d98d8c6e8871a6 100644 (file)
@@ -329,8 +329,8 @@ namespace {
   // before to search them.
   template<> struct MovePickerExt<false, true> : public MovePicker {
 
-    MovePickerExt(const Position& p, Move, Depth d, const History& h, SearchStack* ss, Value b)
-                 : MovePicker(p, Rml[0].pv[0], d, h, ss, b), firstCall(true) {
+    MovePickerExt(const Position& p, Move ttm, Depth d, const History& h, SearchStack* ss, Value b)
+                 : MovePicker(p, ttm, d, h, ss, b), firstCall(true) {
       Move move;
       Value score = VALUE_ZERO;