mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 09:13:08 +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
|
// FIXME: Document
|
||||||
if (Asymmetric)
|
if (Asymmetric)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < slIndex ; slIndex += 2)
|
for (int i = 0; i < slIndex ; i += 2)
|
||||||
{
|
{
|
||||||
if (swapList[slIndex] < asymmThreshold)
|
if (swapList[i] < asymmThreshold)
|
||||||
swapList[slIndex] = - QueenValueMg * 16;
|
swapList[i] = - QueenValueMg * 16;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue