Skip to content

Commit

Permalink
Merge pull request #30455 from smoogipoo/cap-effective-miss-count
Browse files Browse the repository at this point in the history
Cap effective miss count to total hits
  • Loading branch information
smoogipoo authored Nov 1, 2024
2 parents 052adc9 + c1a4038 commit 44535d7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ protected override PerformanceAttributes CreatePerformanceAttributes(ScoreInfo s
}

effectiveMissCount = Math.Max(countMiss, effectiveMissCount);
effectiveMissCount = Math.Min(totalHits, effectiveMissCount);

double multiplier = PERFORMANCE_BASE_MULTIPLIER;

Expand Down

0 comments on commit 44535d7

Please sign in to comment.