WordSubstitutionModel bug

7 views
Skip to first unread message

Connor McCoy

unread,
May 14, 2014, 6:08:06 PM5/14/14
to biopp-de...@googlegroups.com
Hi All,

I've been trying to use bpp::WordSubstitutionModel in a project, and think I've found a bug - a `size_t` is decremented from 0, which on my machine becomes a very large number and causes a segfault.

Patch attached, and also viewable here: http://cl.ly/code/3t2Z2J2n1I2Q

Thanks!
Connor
0001-Fix-indexing-error-in-WordSubstitutionModel.patch

Laurent Guéguen

unread,
May 16, 2014, 4:54:57 AM5/16/14
to biopp-de...@googlegroups.com
Hi Connor,

yes indeed, thanks a lot for the fix, I push it.

Cheers,
L
Reply all
Reply to author
Forward
0 new messages