From bc599d145a8d3a5e69128bc9e702ac7a32d73a4c Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 22 Aug 2023 01:12:25 +0300 Subject: fix: typing in benchmark --- benches/search.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benches') diff --git a/benches/search.rs b/benches/search.rs index 2f482ce..26c4c09 100644 --- a/benches/search.rs +++ b/benches/search.rs @@ -1,4 +1,4 @@ -use std::{time::{Instant, Duration}, f32::INFINITY}; +use std::{time::Instant, f32::INFINITY}; use chessnost::{board::{Board, io::IO}, grossmeister::Grossmeister}; fn main() { @@ -7,7 +7,7 @@ fn main() { let mut gm = Grossmeister::new(board); let start = Instant::now(); - let (score, pv) = gm.iterative_deepening(6, Duration::from_secs(15), true); + let (score, pv) = gm.iterative_deepening(8); println!("Finished in {:?}: score={:?} {:?}", start.elapsed(), score, pv); gm.board.print(); -- cgit v1.2.3