Fix genltl --gh-r

Reported by František Blahoudek.

* src/bin/genltl.cc (R_n): Really generate (GFp1 || FGp2), not
(GFp1 || GFp2).
* NEWS: Mention the bug.
* THANKS: Update.
This commit is contained in:
Alexandre Duret-Lutz 2013-04-30 00:01:35 +02:00
parent b881c10155
commit e2378b4904
3 changed files with 7 additions and 4 deletions

4
NEWS
View file

@ -1,6 +1,8 @@
New in spot 1.1a (not yet released):
Nothing yet.
Bug fixes:
- genltl --gh-r generated the wrong formulas due to a typo.
New in spot 1.1 (2013-04-28):

1
THANKS
View file

@ -5,6 +5,7 @@ Akim Demaille
Christian Dax
Étienne Renault
Felix Klaedtke
František Blahoudek
Gerard J. Holzmann
Heikki Tauriainen
Jean-Michel Couvreur

View file

@ -1,6 +1,6 @@
// -*- coding: utf-8 -*-
// Copyright (C) 2012 Laboratoire de Recherche et Développement de
// l'Epita (LRDE).
// Copyright (C) 2012, 2013 Laboratoire de Recherche et Développement
// de l'Epita (LRDE).
//
// This file is part of Spot, a model checking library.
//
@ -429,7 +429,7 @@ R_n(std::string name, int n)
p << name << i + 1;
pi = env.require(p.str());
const formula* fg = G_(F_(pi->clone()));
const formula* fg = F_(G_(pi->clone()));
const formula* f = Or_(gf, fg);