mirror of
https://github.com/sockspls/badfish
synced 2025-05-01 17:19:36 +00:00
Fixed a bug that White and Black are reversed.
This commit is contained in:
parent
9dab4660ce
commit
998d8721bd
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ void AddExample(Position& pos, Color rootColor,
|
|||
for (const auto trigger : kRefreshTriggers) {
|
||||
RawFeatures::AppendActiveIndices(pos, trigger, active_indices);
|
||||
}
|
||||
if (pos.side_to_move() != BLACK) {
|
||||
if (pos.side_to_move() != WHITE) {
|
||||
active_indices[0].swap(active_indices[1]);
|
||||
}
|
||||
for (const auto color : Colors) {
|
||||
|
|
Loading…
Add table
Reference in a new issue