Skip to content
This repository
Browse code

Revert odd depths razoring

I have just made a new rule that no modification
that increases pruning is allowed if after 1000 games
ELO is not increased by at least 10 point (was +5 in this case)

Yes, I like this kind of nosense rules :-)
  • Loading branch information...
commit a9e55d43262d11a916bdfa68cd1de0174d884cd3 1 parent 4d70e3a
Marco Costalba authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/search.cpp
4 src/search.cpp
@@ -1245,8 +1245,8 @@ namespace {
1245 1245 {
1246 1246 Value v = qsearch(pos, ss, beta-1, beta, Depth(0), ply, threadID);
1247 1247 if ( (v < beta - RazorMargin - RazorMargin / 4)
1248   - || (depth < 3*OnePly && v < beta - RazorMargin)
1249   - || (depth < 2*OnePly && v < beta - RazorMargin / 2))
  1248 + || (depth <= 2*OnePly && v < beta - RazorMargin)
  1249 + || (depth <= OnePly && v < beta - RazorMargin / 2))
1250 1250 return v;
1251 1251 }
1252 1252

0 comments on commit a9e55d4

Please sign in to comment.
Something went wrong with that request. Please try again.