-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in optimize #173
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have an issue when I run the
optimize
algorithm on this FST.The algorithm panics because of an
unwrap()
occurring in thedecode
function that happens just after aminimize
. More exactly,decode(tr.ilabel)
is called with anilabel == 0
which implies calling a get on a negative value here.The issue seems to be introduced by this PR #166 as the algorithm doesn't panic in the latest commit before that change (8f7f486).
The text was updated successfully, but these errors were encountered: