summaryrefslogtreecommitdiff
path: root/cli/src/eval.rs
diff options
context:
space:
mode:
authorMike White <botahamec@outlook.com>2021-09-18 12:25:15 -0400
committerMike White <botahamec@outlook.com>2021-09-18 12:25:15 -0400
commitf1d3cf99a122c63e09f33ca30d6c09fd29d66a24 (patch)
treec8371c1a8ecd3851b00081bb9ae0cd6d81c4b313 /cli/src/eval.rs
parent022ad804720a9cede6e8e463ad4bf82db3588f84 (diff)
Implement multithreading
Diffstat (limited to 'cli/src/eval.rs')
-rw-r--r--cli/src/eval.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/eval.rs b/cli/src/eval.rs
index 72fa32a..8076af1 100644
--- a/cli/src/eval.rs
+++ b/cli/src/eval.rs
@@ -1,6 +1,6 @@
use ai::{CheckersBitBoard, Move};
pub fn eval(depth: usize) -> f32 {
- ai::eval(depth, 0.0, 1.0, CheckersBitBoard::starting_position())
+ ai::eval_multithreaded(depth, 0.0, 1.0, CheckersBitBoard::starting_position())
}
pub fn best_move(depth: usize) -> Move {