Skip to content

Commit

Permalink
Fix and tweak datagen
Browse files Browse the repository at this point in the history
  • Loading branch information
jnlt3 committed Aug 5, 2023
1 parent bcdfbdc commit 5fd38d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bm/bm_console/gen_eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn play_single(
cozy_chess::GameStatus::Ongoing => {}
}
time_manager.initiate(engine.get_board(), time_management_info);
let (mut make_move, eval, _, _) = engine.search::<Run, NoInfo>(1);
let (mut make_move, eval, _, _) = engine.search::<Run, NoInfo>();
time_manager.clear();
let turn = match engine.get_board().side_to_move() {
cozy_chess::Color::White => 1,
Expand All @@ -47,7 +47,7 @@ fn play_single(

let board = engine.get_board().clone();

if ply > 8
if ply > 16
&& !board
.colors(!engine.get_board().side_to_move())
.has(make_move.to)
Expand Down

0 comments on commit 5fd38d3

Please sign in to comment.