Skip to content

Commit e2d24b2

Browse files
authored
Merge pull request #386 from hitonanode/fix-docs
fix docs to pass pages CI
2 parents ba4c834 + 4845047 commit e2d24b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/submodular_optimization_via_graph_cut.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ using V = pair<int, int>;
3939
SubmodularOptimizationViaGraphCut<V> so;
4040
const long long inf = 1LL << 30;
4141
42-
const auto x = so.GenIntVar({{i, 0}, {i, 1}}, inf); // Create int value 0 <= x < 3
42+
const auto x = so.GenIntVar({V{i, 0}, V{i, 1}}, inf); // Create int value 0 <= x < 3
4343
so.Impose(x, {5LL, 0LL, 3LL}); // Impose cost function f(x) = 5 (if x = 0), 0 (if x = 1), 3 (if x = 2).
4444
so.ImposeLbUb(x, 2, y, 0, 5000); // If x >= 2 && y <= 0, impose cost by 5000
4545
```

0 commit comments

Comments
 (0)