Browse Source

Remove spammy prints

master
Jirka Sejkora 4 years ago
parent
commit
b629369169
  1. 2
      src/combine.rs

2
src/combine.rs

@ -54,12 +54,10 @@ pub fn create_new_best_combination(city: &City, left_layouts: &Vec<SavedLayout>,
for right_layout in right_layouts { for right_layout in right_layouts {
if let Some(bound) = db.get_merge_lower_bound(left_layout, right_layout, transposed) { if let Some(bound) = db.get_merge_lower_bound(left_layout, right_layout, transposed) {
if bound < best_price.expect("No best price set while lower bounds exist") { if bound < best_price.expect("No best price set while lower bounds exist") {
eprintln!("Low bound; left needed ({} - {})", left_layout.id(), right_layout.id());
needed = true; needed = true;
break; break;
} }
} else { } else {
eprintln!("No bound; left needed ({} - {})", left_layout.id(), right_layout.id());
needed = true; needed = true;
break; break;
} }

Loading…
Cancel
Save