Silent fail: bool semiring + weight = 0.0 in compile

using TensorAutomata
using TensorAutomata.Semirings

Σ = Set{Label{Char}}('a':'z')

A = compile(
    [
        (src = 1, dest = 3, label=('a', 'x'), weight=0.0),
        (src = 2, dest = 3, label=('b', 'y'), weight=0.0),
        (src = 3, dest = 4, label=('c', nothing))
    ];
    init = [1, 2 ],
    final = [4 ],
    symbols = (Σ, Σ),
    semiring = BoolSemiring,
)

draw(A)
Edited by albal perli