Skip to content
Permalink
Browse files

correction

  • Loading branch information...
MJZ1977 committed Jun 7, 2019
1 parent bd72740 commit 8b9a5070d4473fa415f93dc39f9571670fc49e90
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/search.cpp
@@ -1233,7 +1233,7 @@ namespace {
Value bestValue, value, ttValue, futilityValue, futilityBase, oldAlpha;
bool ttHit, pvHit, inCheck, givesCheck, evasionPrunable;
int moveCount;
int progrIndex = std::min(ss->ply, pos.rule50_count()) - 1;
int progrIndex = std::min(ss->ply, pos.rule50_count());
if (progrIndex > 8)
progrIndex = progrIndex * 8 / (1 + popcount((ss-progrIndex)->posPieces ^ ss->posPieces));
progrIndex = 64 - clamp(progrIndex - 16, 0, 32);

0 comments on commit 8b9a507

Please sign in to comment.
You can’t perform that action at this time.