Skip to content

Commit

Permalink
Fix copy
Browse files Browse the repository at this point in the history
  • Loading branch information
clente committed Mar 23, 2021
1 parent 47928bf commit 177e289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tbprobe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1193,7 +1193,7 @@ WDLScore search(Position& pos, ProbeState* result) {
auto moveList = MoveList<LEGAL>(pos);
size_t totalCount = moveList.size(), moveCount = 0;

for (const Move& move : moveList)
for (const ExtMove& move : moveList)
{
if ( !pos.capture(move)
&& (!CheckZeroingMoves || type_of(pos.moved_piece(move)) != PAWN))
Expand Down Expand Up @@ -1462,7 +1462,7 @@ int Tablebases::probe_dtz(Position& pos, ProbeState* result) {
StateInfo st;
int minDTZ = 0xFFFF;

for (const Move& move : MoveList<LEGAL>(pos))
for (const ExtMove& move : MoveList<LEGAL>(pos))
{
bool zeroing = pos.capture(move) || type_of(pos.moved_piece(move)) == PAWN;

Expand Down

0 comments on commit 177e289

Please sign in to comment.