minimize_wdba: fix nondeterministic execution
Fixes core/readsave.test and python/automata.ipython with gcc-snapshot (future gcc 7). * spot/twaalgos/minimize.cc: Here. * NEWS: Mention the change. * tests/core/acc_word.test: Adjust test case.
This commit is contained in:
parent
20cf43b3ea
commit
d7d6b40926
3 changed files with 13 additions and 10 deletions
|
|
@ -49,9 +49,9 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
// FIXME: do we really want to use unordered_set instead of set here?
|
||||
// This calls for benchmarking.
|
||||
typedef state_set hash_set;
|
||||
// This is called hash_set for historical reason, but we need the
|
||||
// order inside hash_set to be deterministic.
|
||||
typedef std::set<const state*, state_ptr_less_than> hash_set;
|
||||
typedef state_map<unsigned> hash_map;
|
||||
|
||||
namespace
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue