bug fix
This commit is contained in:
parent
bcb7f64ea5
commit
c291b2ec81
2 changed files with 3 additions and 2 deletions
|
|
@ -191,7 +191,8 @@ main(int argc, char **argv)
|
||||||
debug ||
|
debug ||
|
||||||
# endif
|
# endif
|
||||||
report == 1)statistics();
|
report == 1)statistics();
|
||||||
Bterm(fin);
|
if(fin)
|
||||||
|
Bterm(fin);
|
||||||
exits(0); /* success return code */
|
exits(0); /* success return code */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -173,7 +173,7 @@ first(int v) /* calculate set of positions with v as root which can be active in
|
||||||
break;
|
break;
|
||||||
case RSCON:
|
case RSCON:
|
||||||
i = stnum/2 +1;
|
i = stnum/2 +1;
|
||||||
p = (uchar *)right[v];
|
p = (uchar*)right[v];
|
||||||
while(*p)
|
while(*p)
|
||||||
if(*p++ == i){
|
if(*p++ == i){
|
||||||
first(left[v]);
|
first(left[v]);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue