Skip to content

Commit

Permalink
switch LCS string positions
Browse files Browse the repository at this point in the history
  • Loading branch information
ljones315 committed Apr 23, 2023
1 parent 57ce8f2 commit 45d4c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algo/LCS.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class LCS extends Algorithm {
if (string1 !== '' && string2 !== '') {
this.S1Field.value = '';
this.S2Field.value = '';
this.implementAction(this.run.bind(this), string1, string2);
this.implementAction(this.run.bind(this), string2, string1);
}
}

Expand Down

0 comments on commit 45d4c3a

Please sign in to comment.