Skip to content

Commit

Permalink
refactor: fix warnings when compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Young-TW committed Oct 8, 2024
1 parent bceec41 commit 9688894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub fn qts(items: &Items, capacity: f64, max_gen: i32, n_neighbors: i32) -> Solu

print_solution(items, &best_fit);
// print_qubits(&qubits);
record_iter("output.csv", i, calculate_values(items, &best_fit));
let _ = record_iter("output.csv", i, calculate_values(items, &best_fit));
update_qubits(best_solution.clone(), worst_solution.clone(), &mut qubits);
}

Expand Down

0 comments on commit 9688894

Please sign in to comment.