Use correct early cut-off bound

This commit is contained in:
2023-01-28 22:00:12 +01:00
parent 5045f83df8
commit 5ea0f6fa6f

View File

@@ -107,7 +107,7 @@ impl BluePrint {
}) = todo.pop()
{
let ideal_from_now = ideal(time_left as u32);
if u32::from(best - got) > ideal_from_now {
if u32::from(best - got) >= ideal_from_now {
continue;
}
if todo.len() > 1_000_000 {