* src/ltltest/genltl.cc (X_n): Fix assertion.
This commit is contained in:
parent
0b11fc2e11
commit
f4ecb34275
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
||||||
|
2011-06-07 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
|
* src/ltltest/genltl.cc (X_n): Fix assertion.
|
||||||
|
|
||||||
2011-06-06 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
2011-06-06 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||||
|
|
||||||
* src/ltlvisit/dotty.cc (dotty_visitor): Reorder attributes.
|
* src/ltlvisit/dotty.cc (dotty_visitor): Reorder attributes.
|
||||||
|
|
|
||||||
|
|
@ -420,7 +420,7 @@ formula* fair_response(std::string p, std::string q, std::string r, int n)
|
||||||
// Builds X(X(...X(p))) with n occurrences of X.
|
// Builds X(X(...X(p))) with n occurrences of X.
|
||||||
formula* X_n(formula* p, int n)
|
formula* X_n(formula* p, int n)
|
||||||
{
|
{
|
||||||
assert(n > 0);
|
assert(n >= 0);
|
||||||
formula* res = p;
|
formula* res = p;
|
||||||
while (n--)
|
while (n--)
|
||||||
res = X_(res);
|
res = X_(res);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue