aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grossmeister/search.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/grossmeister/search.rs b/src/grossmeister/search.rs
index d8db1e2..6b2048d 100644
--- a/src/grossmeister/search.rs
+++ b/src/grossmeister/search.rs
@@ -236,18 +236,14 @@ impl Grossmeister {
gradual_widening_counter += 1;
beta = alpha + window_size * 0.1;
alpha = search_result.0 - window_size * 2.0f32.powi(gradual_widening_counter);
- if self.debug {
- println!("info score upperbound {:.0}", beta * 100.0);
- }
+ println!("info score upperbound {:.0}", beta * 100.0);
continue;
}
if search_result.0 >= beta { // Beta-cutoff
gradual_widening_counter += 1;
alpha = beta - window_size * 0.1;
beta = search_result.0 + window_size * 2.0f32.powi(gradual_widening_counter);
- if self.debug {
- println!("info score lowerbound {:.0}", alpha * 100.0);
- }
+ println!("info score lowerbound {:.0}", alpha * 100.0);
continue;
}