Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic committed Oct 7, 2017
2 parents bcedf0b + b364897 commit a30d658
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/syzygy/tbprobe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,16 @@ struct Atomic {
std::atomic_bool ready;
};

// We define types for the different parts of the WLDEntry and DTZEntry with
// We define types for the different parts of the WDLEntry and DTZEntry with
// corresponding specializations for pieces or pawns.

struct WLDEntryPiece {
struct WDLEntryPiece {
PairsData* precomp;
};

struct WDLEntryPawn {
uint8_t pawnCount[2]; // [Lead color / other color]
WLDEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
WDLEntryPiece file[2][4]; // [wtm / btm][FILE_A..FILE_D]
};

struct DTZEntryPiece {
Expand Down Expand Up @@ -334,7 +334,7 @@ struct WDLEntry : public TBEntry {
WDLEntry(const std::string& code, Variant v);
~WDLEntry();
union {
WLDEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPawn pawnTable;
};
};
Expand Down

0 comments on commit a30d658

Please sign in to comment.