xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
26 stars 6 forks source link

Alignment pattern compression fails for AA data #95

Closed amkozlov closed 8 years ago

amkozlov commented 8 years ago

Segfault in the following line:

https://github.com/xflouris/libpll/blob/master/src/compress.c#L173

inv_charmap[map[i]] = i;

since obviously map[i] > PLL_ASCII_SIZE

@xflouris could you please take a look?

xflouris commented 8 years ago

thanks @amkozlov ; was not using the remapped charmap, it's fixed now.