Skip to content

Commit

Permalink
removed debug things
Browse files Browse the repository at this point in the history
  • Loading branch information
bananasmoothii committed Oct 9, 2023
1 parent 6c120c5 commit f20f21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mod min_max;
mod scalar;

fn main() {
let max_depth = 11;
let max_depth = 9;
let bot_vs_bot = true;

let p1 = NonZeroU8::new(1).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion src/min_max.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl<G: Game> GameNode<G> {
let half_loose = G::Score::MIN().div(2);
if let Draw(_, _) = self.game_state {
// if we are here, it means that this function was called twice on the same node
self.expect_game().print();
// this is due to multi-threading
self.set_weight(Some(half_loose));
return true;
}
Expand Down

0 comments on commit f20f21a

Please sign in to comment.