Skip to content

Commit 0b64fd5

Browse files
🎨 style(blossom): Reduce scope of variables.
1 parent 68cb34d commit 0b64fd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/blossom/blossom.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ export default function blossom(CHECK_OPTIMUM, CHECK_DELTA) {
682682
queue = [];
683683

684684
// Label single blossoms/vertices with S and put them in the queue.
685-
for (v = 0; v < nvertex; ++v) {
685+
for (let v = 0; v < nvertex; ++v) {
686686
if (mate[v] === -1 && label[inblossom[v]] === 0) assignLabel(v, 1, -1);
687687
}
688688

0 commit comments

Comments
 (0)