aboutsummaryrefslogtreecommitdiff
path: root/benches
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-09-04 08:08:13 +0300
committereug-vs <eugene@eug-vs.xyz>2023-09-04 08:08:26 +0300
commitb32745208e8565ce2c9263c77bd5071441d7bd79 (patch)
tree8e6480beabd79f5cf34f556253315912fa6f2c0f /benches
parent30326ce2dafb57fd1b6b46b8e7561383ed404641 (diff)
downloadchessnost-b32745208e8565ce2c9263c77bd5071441d7bd79.tar.gz
refactor: reconstruct PV only after the search
Diffstat (limited to 'benches')
-rw-r--r--benches/search.rs2
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();