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

* src/tgbaalgos/reducerun.cc (reduce_run): Do not call erase() after

splice(), splice() already remove the elements.
* src/tgbaalgos/gtec/ce.cc (couvreur99_check_result::accepting_run):
Likewise.
parent 58aff37d
2004-12-16 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/reducerun.cc (reduce_run): Do not call erase() after
splice(), splice() already remove the elements.
* src/tgbaalgos/gtec/ce.cc (couvreur99_check_result::accepting_run):
Likewise.
* src/tgbatest/randtgba.cc: Add option -O, so we can profile each
emptiness-check on its own.
......
......@@ -21,6 +21,7 @@
#include "ce.hh"
#include "tgbaalgos/bfssteps.hh"
#include "misc/hash.hh"
namespace spot
{
......@@ -128,7 +129,6 @@ namespace spot
// Now shift the cycle so it starts on cycle_entry_point.
run_->cycle.splice(run_->cycle.end(), run_->cycle,
run_->cycle.begin(), cycle_ep_it);
run_->cycle.erase(run_->cycle.begin(), cycle_ep_it);
return run_;
}
......
......@@ -182,7 +182,6 @@ namespace spot
// Now shift the cycle so it starts on cycle_entry_point.
res->cycle.splice(res->cycle.end(), res->cycle,
res->cycle.begin(), cycle_ep_it);
res->cycle.erase(res->cycle.begin(), cycle_ep_it);
return res;
}
......
Supports Markdown
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