Skip to content

Commit

Permalink
just testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kloetzl committed Apr 9, 2015
1 parent 7801887 commit 526b891
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/esa.c
Expand Up @@ -478,10 +478,17 @@ static lcp_inter_t *get_interval( const esa_t *C, lcp_inter_t *ij, char a){
SoSueMe:
if( c == a){
/* found ! */
saidx_t n;
if( LCP[i] <= LCP[m]){
n = L(CLD, m);
} else {
n = R(CLD,i);
}

ij->i = i;
ij->j = m-1;
ij->m = LCP[i] <= LCP[m] ? L(CLD, m) : R(CLD,i);
ij->l = LCP[ij->m];
ij->m = n;
ij->l = LCP[n];
return ij;
}

Expand Down

0 comments on commit 526b891

Please sign in to comment.