mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
LCS: fix stale comment.
This commit is contained in:
parent
5a3d85745a
commit
ef610802c7
@ -558,7 +558,7 @@ void lcsCommand(client *c) {
|
|||||||
|
|
||||||
/* Setup an uint32_t array to store at LCS[i,j] the length of the
|
/* Setup an uint32_t array to store at LCS[i,j] the length of the
|
||||||
* LCS A0..i-1, B0..j-1. Note that we have a linear array here, so
|
* LCS A0..i-1, B0..j-1. Note that we have a linear array here, so
|
||||||
* we index it as LCS[i+alen*j] */
|
* we index it as LCS[j+(blen+1)*j] */
|
||||||
uint32_t *lcs = zmalloc((alen+1)*(blen+1)*sizeof(uint32_t));
|
uint32_t *lcs = zmalloc((alen+1)*(blen+1)*sizeof(uint32_t));
|
||||||
#define LCS(A,B) lcs[(B)+((A)*(blen+1))]
|
#define LCS(A,B) lcs[(B)+((A)*(blen+1))]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user