Small cleanups

closes https://github.com/official-stockfish/Stockfish/pull/2567

No functional change.
This commit is contained in:
Joost VandeVondele
2020-03-14 17:04:50 +01:00
parent ec2002c594
commit ddcbacd04d
8 changed files with 30 additions and 29 deletions

View File

@@ -769,7 +769,7 @@ Ret do_probe_table(const Position& pos, T* entry, WDLScore wdl, ProbeState* resu
if (!off_A1H8(squares[i]))
continue;
if (off_A1H8(squares[i]) > 0) // A1-H8 diagonal flip: SQ_A3 -> SQ_C3
if (off_A1H8(squares[i]) > 0) // A1-H8 diagonal flip: SQ_A3 -> SQ_C1
for (int j = i; j < size; ++j)
squares[j] = Square(((squares[j] >> 3) | (squares[j] << 3)) & 63);
break;