File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,6 @@ where
128
128
y = yy;
129
129
}
130
130
}
131
- debug_assert ! ( s. contains( x) ) ;
132
131
// If some slack has been found, remove it from x nodes in the
133
132
// alternating path, and add it to y nodes in the alternating path.
134
133
// The slack of y nodes outside the alternating path will be reduced
@@ -145,7 +144,6 @@ where
145
144
}
146
145
}
147
146
}
148
- debug_assert ! ( lx[ x] + ly[ y] == weights. at( x, y) ) ;
149
147
// Add (x, y) to the alternating path.
150
148
alternating[ y] = Some ( x) ;
151
149
if yx[ y] . is_none ( ) {
@@ -155,7 +153,6 @@ where
155
153
// This y node had a predecessor, add it to the set of x nodes
156
154
// in the augmenting path.
157
155
let x = yx[ y] . unwrap ( ) ;
158
- debug_assert ! ( !s. contains( x) ) ;
159
156
s. insert ( x) ;
160
157
// Update slack because of the added vertex in s might contain a
161
158
// greater slack than with previously inserted x nodes in the augmenting
You can’t perform that action at this time.
0 commit comments