Skip to content

Commit e6c0887

Browse files
committed
Fix datagen build after last commit
Renegade dev 1.2.32 Bench: 4303713
1 parent b71fb9b commit e6c0887

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Renegade/Datagen.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void SelfPlay(const std::string filename) {
159159

160160
for (int i = 0; i < randomPlies; i++) {
161161
MoveList moves{};
162-
position.GenerateMoves(moves, MoveGen::All, Legality::Legal);
162+
position.GenerateAllLegalMoves(moves);
163163
if (moves.size() == 0) {
164164
failed = true;
165165
break;
@@ -171,7 +171,7 @@ void SelfPlay(const std::string filename) {
171171

172172
// Rarely, the last move will result in a checkmate position - filter these
173173
MoveList moves{};
174-
position.GenerateMoves(moves, MoveGen::All, Legality::Legal);
174+
position.GenerateAllLegalMoves(moves);
175175
if (moves.size() == 0) continue;
176176

177177
// 3. Verify evaluation if acceptable

Renegade/Utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ using std::endl;
2121
using std::get;
2222
using Clock = std::chrono::high_resolution_clock;
2323

24-
constexpr std::string_view Version = "dev 1.2.31";
24+
constexpr std::string_view Version = "dev 1.2.32";
2525

2626
// Evaluation helpers -----------------------------------------------------------------------------
2727

0 commit comments

Comments
 (0)