Skip to content
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

Fixed a bug in obs index inconsistency between matching and edge objects #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

menelausyjl
Copy link

Obs index has been +1 when calling
self._match_non_emitting_states_end(cur_lattice, obs_idx + 1, obs_next, lattice_best, expand=expand)
I think here obs_idx is already the index for the next observation in this context, hence no need for the extra +1, to keep in accordance with the obs coordinates and edge object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant