From b32745208e8565ce2c9263c77bd5071441d7bd79 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Mon, 4 Sep 2023 08:08:13 +0300 Subject: refactor: reconstruct PV only after the search --- benches/search.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benches') 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(); -- cgit v1.2.3