summaryrefslogtreecommitdiff
path: root/blossom5-v2.05.src/MinCost/MinCost.cpp.rej
diff options
context:
space:
mode:
Diffstat (limited to 'blossom5-v2.05.src/MinCost/MinCost.cpp.rej')
-rw-r--r--blossom5-v2.05.src/MinCost/MinCost.cpp.rej25
1 files changed, 25 insertions, 0 deletions
diff --git a/blossom5-v2.05.src/MinCost/MinCost.cpp.rej b/blossom5-v2.05.src/MinCost/MinCost.cpp.rej
new file mode 100644
index 0000000..1597c49
--- /dev/null
+++ b/blossom5-v2.05.src/MinCost/MinCost.cpp.rej
@@ -0,0 +1,25 @@
+--- MinCost.cpp
++++ MinCost.cpp
+@@ -253,19 +253,19 @@
+ template <typename CostType>
+ void DualMinCost<CostType>::SetLowerBound(NodeId i, CostType cmin)
+ {
+- AddEdge(i, source, FLOW_INFTY, 0, -cmin);
++ DualMinCost<CostType>::AddEdge(i, source, FLOW_INFTY, 0, -cmin);
+ }
+
+ template <typename CostType>
+ void DualMinCost<CostType>::SetUpperBound(NodeId i, CostType cmax)
+ {
+- AddEdge(source, i, FLOW_INFTY, 0, cmax);
++ DualMinCost<CostType>::AddEdge(source, i, FLOW_INFTY, 0, cmax);
+ }
+
+ template <typename CostType>
+ void DualMinCost<CostType>::AddConstraint(NodeId i, NodeId j, CostType cmax)
+ {
+- AddEdge(i, j, FLOW_INFTY, 0, cmax);
++ DualMinCost<CostType>::AddEdge(i, j, FLOW_INFTY, 0, cmax);
+ }
+
+ template <typename CostType>