You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 85175e3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/paper/reductions.typ
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16869,7 +16869,9 @@ Problems parameterized by graph type, weight type, target type, or clause width
16869
16869
let from = src.variant.at(field, default: none)
16870
16870
let to = tgt.variant.at(field, default: none)
16871
16871
let promotion = (from == "One" and to == "i64") or (from == "i64" and to == "f64")
16872
-
promotion and src.variant.pairs().all(((key, value)) => key == field or tgt.variant.at(key, default: none) == value) and src.variant.len() == tgt.variant.len()
16872
+
let promoted = src.variant
16873
+
promoted.insert(field, to)
16874
+
promotion and promoted == tgt.variant
16873
16875
})
16874
16876
}
16875
16877
let source = (name: "MaximumIndependentSet", variant: (graph: "SimpleGraph", weight: "One"))
0 commit comments