]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Consolidate CastlingSide and CastlingRights
[stockfish] / src / search.cpp
index 7f421b9cd38401f4e5d4d94c9f1adff3649b348b..7a16ef8cfc08af9da7ab9e374d5baf338a5d8026 100644 (file)
@@ -64,7 +64,7 @@ namespace {
   // Razor and futility margins
   constexpr int RazorMargin = 661;
   Value futility_margin(Depth d, bool improving) {
-    return Value(198 * (d / ONE_PLY) - 178 * improving);
+    return Value(198 * (d / ONE_PLY - improving));
   }
 
   // Reductions lookup table, initialized at startup