Commit a6afaf3d authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

adjust for recent renaming of valid_trans()

* spot/kripke/kripkegraph.hh, spot/twa/twagraph.hh: Call
is_valid_edge() instead.
* NEWS: Mention the renaming.
parent fb6cc0df
...@@ -11,6 +11,10 @@ New in spot 1.99.9a (not yet released) ...@@ -11,6 +11,10 @@ New in spot 1.99.9a (not yet released)
* The output of spot.atomic_prop_collect() is printable and * The output of spot.atomic_prop_collect() is printable and
can now be passed directly to spot.ltsmin.model.kripke(). can now be passed directly to spot.ltsmin.model.kripke().
Library:
* digraph::valid_trans() renamed to digraph::is_valid_edge().
Documentation: Documentation:
* The concepts page (https://spot.lrde.epita.fr/concepts.html) * The concepts page (https://spot.lrde.epita.fr/concepts.html)
......
...@@ -194,7 +194,7 @@ namespace spot ...@@ -194,7 +194,7 @@ namespace spot
{ {
auto s = down_cast<const typename graph_t::state_storage_t*>(st); auto s = down_cast<const typename graph_t::state_storage_t*>(st);
assert(s); assert(s);
assert(!s->succ || g_.valid_trans(s->succ)); assert(!s->succ || g_.is_valid_edge(s->succ));
if (this->iter_cache_) if (this->iter_cache_)
{ {
......
...@@ -279,7 +279,7 @@ namespace spot ...@@ -279,7 +279,7 @@ namespace spot
{ {
auto s = down_cast<const typename graph_t::state_storage_t*>(st); auto s = down_cast<const typename graph_t::state_storage_t*>(st);
assert(s); assert(s);
assert(!s->succ || g_.valid_trans(s->succ)); assert(!s->succ || g_.is_valid_edge(s->succ));
if (this->iter_cache_) if (this->iter_cache_)
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment