Skip to content

Commit

Permalink
fix top champs display for entries that can only tie
Browse files Browse the repository at this point in the history
  • Loading branch information
seifertd committed Apr 15, 2023
1 parent ba88ff5 commit 7a1886b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pool.h
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ POOLDEF void pool_possibilities_report(PoolReportFormat fmt, bool progress, int
printf(" ");
pool_print_humanized(stdout, stat->timesTied, 5);
printf(" ");
if (winChance > 0.0) {
if (stat->timesWon > 0 || stat->timesTied > 0) {
PoolTeamWins top5[5] = {0};
for (size_t t = 0; t < POOL_NUM_TEAMS; t++) {
if (stat->champCounts[t] > 0) {
Expand Down
2 changes: 1 addition & 1 deletion test/fifty_entries/config.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
name=Supercalifragilistic Pool
scorerType=JoshP
scorerType=SeedDiff
roundScores=1,2,4,8,11,15

0 comments on commit 7a1886b

Please sign in to comment.