From 395c2066ece606e66a08b7bb69a6ea0a659462c5 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Sun, 3 Sep 2023 04:15:40 +0300 Subject: feat: apply Mate Distance Pruning --- benches/search.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benches/search.rs') diff --git a/benches/search.rs b/benches/search.rs index 26c4c09..89c59d5 100644 --- a/benches/search.rs +++ b/benches/search.rs @@ -12,10 +12,10 @@ fn main() { println!("Finished in {:?}: score={:?} {:?}", start.elapsed(), score, pv); gm.board.print(); for mov in pv { - println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY)); + println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY, 0)); println!("{:?}", mov); gm.board.make_move(mov); gm.board.print(); } - println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY)); + println!("Score for {:?} is now: {}", gm.board.color(), gm.quiscence(-INFINITY, INFINITY, 0)); } -- cgit v1.2.3