tgbagraph: fix detection of dead transitions

* src/graph/graph.hh (digraph::digraph): Mark transition 0 as dead.
(digraph::is_dead_transition): Fix prototype.
* src/tgba/tgbagraph.hh (tgba_digraph::is_dead_transition): Fix
prototype.
This commit is contained in:
Alexandre Duret-Lutz 2014-10-08 16:50:54 +02:00
parent 645ecce1c9
commit 1696fac80c
2 changed files with 4 additions and 3 deletions

View file

@ -361,8 +361,7 @@ namespace spot
auto transitions()
SPOT_RETURN(g_.transitions());
template<typename T>
auto is_dead_transition(T t) const
auto is_dead_transition(const graph_t::trans_storage_t& t) const
SPOT_RETURN(g_.is_dead_transition(t));
/// \brief Copy the acceptance conditions of another tgba.