aboutsummaryrefslogtreecommitdiff
path: root/benches/search.rs
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2023-09-03 04:15:40 +0300
committereug-vs <eugene@eug-vs.xyz>2023-09-03 04:24:00 +0300
commit395c2066ece606e66a08b7bb69a6ea0a659462c5 (patch)
tree9c64851c3ac1d462670a0d51339340c89ec113c6 /benches/search.rs
parent08060989f1e3b2669e5969b12aaa35e56d0ff214 (diff)
downloadchessnost-395c2066ece606e66a08b7bb69a6ea0a659462c5.tar.gz
feat: apply Mate Distance Pruning
Diffstat (limited to 'benches/search.rs')
-rw-r--r--benches/search.rs4
1 files changed, 2 insertions, 2 deletions
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));
}