diff options
author | eug-vs <eugene@eug-vs.xyz> | 2023-09-04 08:08:13 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2023-09-04 08:08:26 +0300 |
commit | b32745208e8565ce2c9263c77bd5071441d7bd79 (patch) | |
tree | 8e6480beabd79f5cf34f556253315912fa6f2c0f /benches/search.rs | |
parent | 30326ce2dafb57fd1b6b46b8e7561383ed404641 (diff) | |
download | chessnost-b32745208e8565ce2c9263c77bd5071441d7bd79.tar.gz |
refactor: reconstruct PV only after the search
Diffstat (limited to 'benches/search.rs')
-rw-r--r-- | benches/search.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/search.rs b/benches/search.rs index 926f5c3..89c59d5 100644 --- a/benches/search.rs +++ b/benches/search.rs @@ -7,7 +7,7 @@ fn main() { let mut gm = Grossmeister::new(board); let start = Instant::now(); - let (score, pv) = gm.iterative_deepening(8).unwrap(); + let (score, pv) = gm.iterative_deepening(8); println!("Finished in {:?}: score={:?} {:?}", start.elapsed(), score, pv); gm.board.print(); |