We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f749496 commit 67d0616Copy full SHA for 67d0616
src/search.cpp
@@ -893,19 +893,16 @@ namespace {
893
assert(probCutBeta < VALUE_INFINITE);
894
895
MovePicker mp(pos, ttMove, probCutBeta - ss->staticEval, &captureHistory);
896
- int probCutCount = 0;
897
bool ttPv = ss->ttPv;
898
ss->ttPv = false;
899
900
- while ( (move = mp.next_move()) != MOVE_NONE
901
- && probCutCount < 2 + 2 * cutNode)
+ while ((move = mp.next_move()) != MOVE_NONE)
902
if (move != excludedMove && pos.legal(move))
903
{
904
assert(pos.capture_or_promotion(move));
905
assert(depth >= 5);
906
907
captureOrPromotion = true;
908
- probCutCount++;
909
910
ss->currentMove = move;
911
ss->continuationHistory = &thisThread->continuationHistory[ss->inCheck]
0 commit comments