mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Fix a silly bug
This commit is contained in:
parent
2097cd1221
commit
d3c3c4f8e7
1 changed files with 3 additions and 3 deletions
|
@ -1237,10 +1237,10 @@ int Position::do_see(Move m, int asymmThreshold) const {
|
|||
// FIXME: Document
|
||||
if (Asymmetric)
|
||||
{
|
||||
for (int i = 0; i < slIndex ; slIndex += 2)
|
||||
for (int i = 0; i < slIndex ; i += 2)
|
||||
{
|
||||
if (swapList[slIndex] < asymmThreshold)
|
||||
swapList[slIndex] = - QueenValueMg * 16;
|
||||
if (swapList[i] < asymmThreshold)
|
||||
swapList[i] = - QueenValueMg * 16;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue