Skip to content

Commit 40269cf

Browse files
committed
fix: remove comments
1 parent 904ac79 commit 40269cf

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/getShortestPath.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ export function getShortestPath(options: GetShortestPathOptions) {
3434
let sink = -1;
3535
let delta = 0;
3636
let curColumn = currUnAssCol;
37-
let shortestPathCost = getArrayOfInfinity(nbRows)//new Float64Array(nbRows).fill(Number.POSITIVE_INFINITY);
37+
let shortestPathCost = getArrayOfInfinity(nbRows);
3838

3939
while (sink === -1) {
4040
scannedColumns[curColumn] = 1;
4141
let minVal = Number.POSITIVE_INFINITY;
4242
let closestRowScan = -1;
4343
for (let curRowScan = 0; curRowScan < numRows2Scan; curRowScan++) {
4444
let curRow = rows2Scan[curRowScan];
45-
// console.log(`curRow ${curRow}, ${curRowScan}`)
45+
4646
let reducedCost = delta + matrix.get(curRow, curColumn) - dualVariableForColumns[curColumn] - dualVariableForRows[curRow];
4747
if (reducedCost < shortestPathCost[curRow]) {
4848
pred[curRow] = curColumn;

0 commit comments

Comments
 (0)