display the number of games not of game termination types
This commit is contained in:
parent
fb4a390993
commit
6866d48897
1 changed files with 2 additions and 2 deletions
|
@ -110,9 +110,9 @@ std::ostream& metrics::games(std::ostream& out)
|
|||
out << "Games have been terminated in the following ways:\n";
|
||||
for(std::map<std::string,int>::const_iterator i = terminations_.begin(); i != terminations_.end(); ++i) {
|
||||
out << i->first << ": " << i->second << "\n";
|
||||
++n;
|
||||
n += i->second;
|
||||
}
|
||||
out << "Total number of finished games = " << n;
|
||||
out << "Total number of games = " << n;
|
||||
|
||||
return out;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue