From b791cd3ef1f97dd03283842e6622db2dbdf3fb23 Mon Sep 17 00:00:00 2001 From: Steven Nguyen Date: Fri, 6 Jan 2023 18:56:56 -0600 Subject: [PATCH] fix typos --- munkres.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/munkres.js b/munkres.js index ab62059..71e33ac 100644 --- a/munkres.js +++ b/munkres.js @@ -102,11 +102,11 @@ * console.log(format_matrix(matrix), 'Lowest cost through this matrix:'); * var total = 0; * for (var i = 0; i < indices.length; ++i) { - * var row = indices[l][0], col = indices[l][1]; + * var row = indices[i][0], col = indices[i][1]; * var value = matrix[row][col]; * total += value; * - * console.log('(' + rol + ', ' + col + ') -> ' + value); + * console.log('(' + row + ', ' + col + ') -> ' + value); * } * * console.log('total cost:', total);