summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorJustin Worthe <justin@worthe-it.co.za>2019-08-10 13:41:02 +0200
committerJustin Worthe <justin@worthe-it.co.za>2019-08-10 13:41:02 +0200
commit903a5a1e9a3f5a7029f8fc30b05fff5c9a77eee3 (patch)
tree9bc01531f04f7a048ea429f759c86649b48b042c /src/bin
parent355bd2f20d4a9cb60cf9c3898fe54a22445266e6 (diff)
Simplified code that doesn't have a strategy cache anymore
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/benchmark.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/benchmark.rs b/src/bin/benchmark.rs
index 0cee8d6..9a62aed 100644
--- a/src/bin/benchmark.rs
+++ b/src/bin/benchmark.rs
@@ -13,7 +13,7 @@ fn main() {
match json::read_state_from_json_file(&Path::new(&format!("./tests/example-state.json"))) {
Ok(json_state) => {
let new_board = game::GameBoard::new(json_state);
- let _ = choose_move(&new_board, None, start_time, max_time);
+ let _ = choose_move(&new_board, start_time, max_time);
}
Err(e) => {
eprintln!("WARN: State file could not be parsed: {}", e);