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

* src/ltltest/genltl.cc (X_n): Fix assertion.

parent 0b11fc2e
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>
* 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.
formula* X_n(formula* p, int n)
{
assert(n > 0);
assert(n >= 0);
formula* res = p;
while (n--)
res = X_(res);
......
Markdown is supported
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