Cosmetics.

* src/sanity/style.test: Catch some binary operators not
delimited with spaces.
* src/tgbaalgos/bfssteps.cc, src/tgbaalgos/magic.cc,
src/tgbaalgos/reducerun.cc, src/tgbaalgos/se05.cc,
src/tgbaalgos/tau03.cc, src/tgbaalgos/tau03opt.cc: Fix these.
This commit is contained in:
Alexandre Duret-Lutz 2011-03-31 10:19:59 +02:00
parent 36f7c648b6
commit 12783ff784
8 changed files with 51 additions and 35 deletions

View file

@ -337,19 +337,19 @@ namespace spot
color_ref get_color_ref(const state*& s)
{
hash_type::iterator it = h.find(s);
if (it==h.end())
if (it == h.end())
return color_ref(0, 0);
if (s!=it->first)
if (s != it->first)
{
s->destroy();
s = it->first;
}
return color_ref(&(it->second.first), &(it->second.second));
return color_ref(&it->second.first, &it->second.second);
}
void add_new_state(const state* s, color c)
{
assert(h.find(s)==h.end());
assert(h.find(s) == h.end());
h.insert(std::make_pair(s, std::make_pair(c, bddfalse)));
}