Skip to content

Commit

Permalink
Weight wit depth but manipulate best value to be consistent, take 2. …
Browse files Browse the repository at this point in the history
…Bench: 3766857.
  • Loading branch information
Stefano80 committed Feb 24, 2019
1 parent 740effc commit 33676b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -448,7 +448,7 @@ void Thread::search() {

// In case of failing low/high increase aspiration window and
// re-search, otherwise exit the loop.
if (bestValue <= alpha || Value(rootMoves[0].zScore / rootMoves[0].visits) <= alpha - PawnValueMg / 2)
if (bestValue <= alpha || Value(rootMoves[0].zScore / rootMoves[0].visits) <= alpha - PawnValueMg / 4)
{
if (bestValue > alpha)
bestValue = alpha;
Expand Down

0 comments on commit 33676b0

Please sign in to comment.