Cap effective miss count to total hits

This commit is contained in:
Dan Balasescu 2024-10-30 23:47:56 +09:00
parent 50be7fb077
commit c1a40388ff
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -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;