]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Fix a compile error in debug mode
[stockfish] / src / search.cpp
index 0fe242dd120f9afe15a827c1d8a0b0805640d1e7..f7a39943740d2021854de3a1788e86b70dcce058 100644 (file)
@@ -139,7 +139,7 @@ namespace {
 
   // Use internal iterative deepening?
   const bool UseIIDAtPVNodes = true;
-  const bool UseIIDAtNonPVNodes = false;
+  const bool UseIIDAtNonPVNodes = true;
 
   // Internal iterative deepening margin. At Non-PV moves, when
   // UseIIDAtNonPVNodes is true, we do an internal iterative deepening
@@ -2471,7 +2471,6 @@ namespace {
     assert(!pos.move_is_check(m));
     assert(!pos.move_is_capture_or_promotion(m));
     assert(!pos.move_is_passed_pawn_push(m));
-    assert(d >= OnePly);
 
     Square mfrom, mto, tfrom, tto;