formula: replace nth() by operator[]()
* src/ltlast/formula.hh (formula::nth): Replace by ... (formula::operator[]): ... this. * src/ltlvisit/mark.cc, src/ltlvisit/mutation.cc, src/ltlvisit/print.cc, src/ltlvisit/relabel.cc, src/ltlvisit/remove_x.cc, src/ltlvisit/simpfg.cc, src/ltlvisit/simplify.cc, src/ltlvisit/snf.cc, src/ltlvisit/unabbrev.cc, src/twa/formula2bdd.cc, src/twaalgos/compsusp.cc, src/twaalgos/ltl2taa.cc, src/twaalgos/ltl2tgba_fm.cc, wrap/python/spot_impl.i: Adjust.
This commit is contained in:
parent
533268000d
commit
2369389850
15 changed files with 373 additions and 373 deletions
|
|
@ -310,7 +310,7 @@ namespace std {
|
|||
int __cmp__(spot::ltl::formula b) { return self->id() - b.id(); }
|
||||
size_t __hash__() { return self->id(); }
|
||||
unsigned __len__() { return self->size(); }
|
||||
formula __getitem__(unsigned pos) { return self->nth(pos); }
|
||||
formula __getitem__(unsigned pos) { return (*self)[pos]; }
|
||||
|
||||
std::string __repr__() { return spot::ltl::str_psl(*self); }
|
||||
std::string _repr_latex_()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue