summaryrefslogtreecommitdiff
path: root/series/statistics.go
diff options
context:
space:
mode:
Diffstat (limited to 'series/statistics.go')
-rw-r--r--series/statistics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/series/statistics.go b/series/statistics.go
index 2742aa7..96ec93b 100644
--- a/series/statistics.go
+++ b/series/statistics.go
@@ -18,7 +18,7 @@ func SeriesStandardDeviation[Data utilities.Number, Bucket constraints.Ordered](
return complete, utilities.CalculateStandardDeviation[Data](values)
}
-func Percentile[Data utilities.Number, Bucket constraints.Ordered](s WindowSeries[Data, Bucket], p int) (bool, Data) {
+func Percentile[Data utilities.Number, Bucket constraints.Ordered](s WindowSeries[Data, Bucket], p uint) (bool, Data) {
complete := s.Complete()
inputValues := s.GetValues()