Skip to content
Snippets Groups Projects
Commit 57d8d47e authored by Lucas Ondel Yang's avatar Lucas Ondel Yang
Browse files

Merge branch '44-wrong-emission-ids' into 'main'

Resolve "Wrong emission IDs"

Closes #44

See merge request !56
parents 5632c4b4 66df23b0
No related branches found
No related tags found
1 merge request!56Resolve "Wrong emission IDs"
......@@ -50,6 +50,7 @@ function tokenfst(
st = Set(Int[])
for _ in tokens
for top in topo
push!(st, top[2])
push!(st, top[1])
end
end
......@@ -88,9 +89,9 @@ function tokenfst(
end
# Final arcs to destinations
if topo_arc[1] == length(st)
if topo_arc[2] == size(mapping, 1)
final_arc = Arc(
src = src,
src = dest,
isym = 0,
osym = 0,
dest = init_state,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment