Skip to content

Commit 3af433c

Browse files
Major bug fix in NNUE data generation.
1 parent d7321f3 commit 3af433c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/mcts.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,8 +2280,10 @@ void SEARCHER::get_train_data(float& value, int& nmoves, int* moves,
22802280
value = 1 - value;
22812281

22822282
/*value head only returns here*/
2283-
if(train_data_type == 3)
2283+
if(train_data_type == 3) {
2284+
nmoves = 1;
22842285
return;
2286+
}
22852287

22862288
/*AB search*/
22872289
if(!montecarlo) {

0 commit comments

Comments
 (0)