toparity: typo in pretty print
* spot/twaalgos/toparity.cc: Fix pretty print.
This commit is contained in:
parent
8c13d7209e
commit
a8e47d0bd2
1 changed files with 6 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// -*- coding: utf-8 -*-
|
||||
// Copyright (C) 2018 Laboratoire de Recherche et Développement
|
||||
// Copyright (C) 2018, 2019 Laboratoire de Recherche et Développement
|
||||
// de l'Epita.
|
||||
//
|
||||
// This file is part of Spot, a model checking library.
|
||||
|
|
@ -53,11 +53,13 @@ namespace spot
|
|||
{
|
||||
std::stringstream s;
|
||||
s << state << " [";
|
||||
for (unsigned i = 0; i != perm.size(); ++i)
|
||||
unsigned ps = perm.size();
|
||||
for (unsigned i = 0; i < ps; ++i)
|
||||
{
|
||||
s << perm[i] << '@' << count[i];
|
||||
if (i < perm.size() - 1)
|
||||
if (i > 0)
|
||||
s << ", ";
|
||||
unsigned p = perm[i];
|
||||
s << p << '@' << count[p];
|
||||
}
|
||||
s << ']';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue