[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io
2024-11-03 23:03:24 +00:00
parent c84a5dd4df
commit e60cf47d3a
43 changed files with 141 additions and 141 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ public sealed class Percentile : AbstractBase
double lowerValue = sortedValues[lowerIndex];
double upperValue = sortedValues[upperIndex];
double fraction = position - lowerIndex;
return lowerValue + (upperValue - lowerValue) * fraction;
return lowerValue + ((upperValue - lowerValue) * fraction);
}
[MethodImpl(MethodImplOptions.AggressiveInlining | MethodImplOptions.AggressiveOptimization)]