From 2497089dbf3f41bfc9ad5460e9e705f4c9d1bef3 Mon Sep 17 00:00:00 2001 From: domonik Date: Wed, 29 Nov 2023 08:45:38 +0100 Subject: [PATCH] fixed matrix check --- assets/js/smithwaterman.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/smithwaterman.js b/assets/js/smithwaterman.js index 65fe708..20652d3 100644 --- a/assets/js/smithwaterman.js +++ b/assets/js/smithwaterman.js @@ -105,7 +105,7 @@ function checkTable() { var mismatch = parseInt(document.getElementById("mismatch").value); var gapIntro = parseInt(document.getElementById("gap-intro").value); - matrix = smithWatermanMatrix(s1, s2, match, mismatch, gapIntro, gapExtend); + matrix = smithWatermanMatrix(s1, s2, match, mismatch, gapIntro); const table = document.getElementById(`tableD`); for (let row = 0; row < s1.length + 1; row++){ for (let col = 0; col < s2.length + 1; col++){