Skip to content

Commit

Permalink
fixed matrix check
Browse files Browse the repository at this point in the history
  • Loading branch information
domonik committed Nov 29, 2023
1 parent feb127b commit 2497089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/smithwaterman.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++){
Expand Down

0 comments on commit 2497089

Please sign in to comment.