Skip to content

Commit

Permalink
Make razor_margin[4] ONE_PLY value independent
Browse files Browse the repository at this point in the history
No functional change.
  • Loading branch information
HiraokaTakuya authored and mcostalba committed Sep 29, 2016
1 parent 7ae3c05 commit b77bae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -729,7 +729,7 @@ namespace {
&& eval + razor_margin[depth / ONE_PLY] <= alpha)
{
if ( depth <= ONE_PLY
&& eval + razor_margin[3 * ONE_PLY] <= alpha)
&& eval + razor_margin[3] <= alpha)
return qsearch<NonPV, false>(pos, ss, alpha, beta, DEPTH_ZERO);

Value ralpha = alpha - razor_margin[depth / ONE_PLY];
Expand Down

0 comments on commit b77bae0

Please sign in to comment.