Skip to content

Commit 15096a1

Browse files
committed
fix typo
1 parent 24362ac commit 15096a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/cicirello/sequences/distance/LongestCommonSubsequenceDistance.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* JavaPermutationTools: A Java library for computation on permutations and sequences
3-
* Copyright 2005-2022 Vincent A. Cicirello, <https://www.cicirello.org/>.
3+
* Copyright 2005-2023 Vincent A. Cicirello, <https://www.cicirello.org/>.
44
*
55
* This file is part of JavaPermutationTools (https://jpt.cicirello.org/).
66
*
@@ -42,7 +42,7 @@
4242
* length, common set of elements, and unique elements properties of permutations to more
4343
* efficiently (in O(n lg n) time) compute the longest common subpermutation (i.e., that class does
4444
* not delegate the work to the edit distance algorithm). However, the result of ReinsertionDistance
45-
* is half of what LongestCommonSunsequenceDistance would compute. This is because for permutations
45+
* is half of what LongestCommonSubsequenceDistance would compute. This is because for permutations
4646
* the elements that would be inserted are exactly the same as those that would be deleted by the
4747
* edit operations, and ReinsertionDistance is defined as an edit distance with one edit operation,
4848
* removal/reinsertion (i.e., a deletion is only half the operation, and the insertion is the other

0 commit comments

Comments
 (0)