various typos

* bench/dtgbasat/gen.py, spot/twaalgos/complement.hh: Fix
looser->loser and lossing->losing.
* tests/sanity/style.test: Catch 'an uni[^n]'.
* spot/ta/ta.hh, spot/taalgos/tgba2ta.cc, spot/taalgos/tgba2ta.hh,
spot/twa/twagraph.cc, spot/twaalgos/complement.hh,
spot/twaalgos/sccinfo.cc, spot/twaalgos/sum.hh: Fix various occurences
of this pattern.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-30 21:22:55 +02:00
parent 42e5cd955e
commit be41155308
9 changed files with 19 additions and 20 deletions

View file

@ -115,7 +115,7 @@ def ne(string):
# --------------------------------------------------------------SUMMARY
def add_winner(res, winner, looser):
def add_winner(res, winner, loser):
"""
Each time this function is called, it increments the scrore
of one method against another one.
@ -125,7 +125,7 @@ def add_winner(res, winner, looser):
for i in range(1, res_length): # except the first row (header)
if winner in res[i]:
for j in range(1, header_length):
if looser in res[0][j]:
if loser in res[0][j]:
if type(res[i][j]) is str:
res[i][j] = 1
else: