Fix various typos

* bin/autfilt.cc, bin/common_post.cc, spot/graph/graph.hh,
  spot/twa/twa.hh, spot/twa/twagraph.hh, spot/twaalgos/remfin.cc: typos
* spot/twaalgos/toweak.cc: incorrect types when invoking std::hash
This commit is contained in:
Maximilien Colange 2017-10-11 15:08:48 +02:00
parent 62b86d3049
commit 5b2ce2736b
7 changed files with 77 additions and 77 deletions

View file

@ -165,10 +165,10 @@ namespace spot
return remove_fin_impl(sccaut, skip)->is_empty();
}
// Remaining infs corresponds to I₁s that have been seen with seeing
// the mathing F₁. In this SCC any edge in these I₁ is therefore
// Remaining infs corresponds to I₁s that have been seen without seeing
// the matching F₁. In this SCC any edge in these I₁ is therefore
// final. Otherwise we do not know: it is possible that there is
// a non-accepting cycle in the SCC that do not visit Fᵢ.
// a non-accepting cycle in the SCC that does not visit Fᵢ.
std::set<unsigned> unknown;
for_each_edge(aut, si.inner_edges_of(scc), keep, [&](unsigned e)
{

View file

@ -50,9 +50,9 @@ namespace spot
operator()(const rc_state& s) const noexcept
{
using std::hash;
return ((hash<int>()(s.id)
^ (hash<int>()(s.rank)))
^ (hash<int>()(s.mark.id)));
return ((hash<unsigned>()(s.id)
^ (hash<unsigned>()(s.rank)))
^ (hash<acc_cond::mark_t>()(s.mark)));
}
};