summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b191df5)
This reverts commit
3e95800814d
For some reason it fails the short TC test:
LLR: -2.96 (-2.94,2.94)
Total: 20033 W: 4214 L: 4265 D: 11554
bench:
4769737
do {
assert(slIndex < 32);
do {
assert(slIndex < 32);
- if (captured == KING) // Stop before processing a king capture
- {
- swapList[slIndex++] = QueenValueMg * 16;
- break;
- }
-
// Add the new entry to the swap list
swapList[slIndex] = -swapList[slIndex - 1] + PieceValue[MG][captured];
slIndex++;
// Add the new entry to the swap list
swapList[slIndex] = -swapList[slIndex - 1] + PieceValue[MG][captured];
slIndex++;
stm = ~stm;
stmAttackers = attackers & pieces(stm);
stm = ~stm;
stmAttackers = attackers & pieces(stm);
+ if (captured == KING)
+ {
+ // Stop before processing a king capture
+ if (stmAttackers)
+ swapList[slIndex++] = QueenValueMg * 16;
+
+ break;
+ }
+
} while (stmAttackers);
// If we are doing asymmetric SEE evaluation and the same side does the first
} while (stmAttackers);
// If we are doing asymmetric SEE evaluation and the same side does the first