Skip to content

Commit

Permalink
WLDEntryPiece -> WDLEntryPiece for consistency
Browse files Browse the repository at this point in the history
No functional change.
  • Loading branch information
niklasf committed Oct 5, 2017
1 parent 452e515 commit b364897
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/syzygy/tbprobe.cpp
Expand Up @@ -133,16 +133,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 @@ -172,7 +172,7 @@ struct WDLEntry : public TBEntry {
WDLEntry(const std::string& code);
~WDLEntry();
union {
WLDEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPiece pieceTable[2]; // [wtm / btm]
WDLEntryPawn pawnTable;
};
};
Expand Down

0 comments on commit b364897

Please sign in to comment.