summaryrefslogtreecommitdiff
path: root/src/bin/perf-test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/perf-test.rs')
-rw-r--r--src/bin/perf-test.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/perf-test.rs b/src/bin/perf-test.rs
index 8c93f5a..415cd61 100644
--- a/src/bin/perf-test.rs
+++ b/src/bin/perf-test.rs
@@ -16,7 +16,7 @@ fn main() {
fn bitwise() {
println!("Running bitwise engine");
let start_time = PreciseTime::now();
- let (settings, state) = match input::json::read_bitwise_state_from_file(STATE_PATH) {
+ let state = match input::json::read_bitwise_state_from_file(STATE_PATH) {
Ok(ok) => ok,
Err(error) => {
println!("Error while parsing JSON file: {}", error);
@@ -24,5 +24,5 @@ fn bitwise() {
}
};
let max_time = Duration::milliseconds(MAX_TIME_MILLIS);
- strategy::monte_carlo::choose_move(&settings, &state, &start_time, max_time);
+ strategy::monte_carlo::choose_move(&state, &start_time, max_time);
}