Skip to content

Commit

Permalink
Simplify futility move count array formula
Browse files Browse the repository at this point in the history
No functional change
  • Loading branch information
lucabrivio authored and zamar committed Oct 5, 2014
1 parent 7482934 commit 8a9b9ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/search.cpp
Expand Up @@ -140,8 +140,8 @@ void Search::init() {
// Init futility move count array
for (d = 0; d < 32; ++d)
{
FutilityMoveCounts[0][d] = int(2.4 + 0.222 * pow(d * 2 + 0.00, 1.8));
FutilityMoveCounts[1][d] = int(3.0 + 0.300 * pow(d * 2 + 0.98, 1.8));
FutilityMoveCounts[0][d] = int(2.4 + 0.773 * pow(d + 0.00, 1.8));
FutilityMoveCounts[1][d] = int(2.9 + 1.045 * pow(d + 0.49, 1.8));
}
}

Expand Down

0 comments on commit 8a9b9ec

Please sign in to comment.