this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fixup threshold bounds check (#362)

authored by

Whyrusleeping and committed by
GitHub
5c193464 9037d9bc

+1 -1
+1 -1
carstore/bs.go
··· 1299 1299 } 1300 1300 1301 1301 thresholdForPosition := func(i int) int { 1302 - if i > len(threshs) { 1302 + if i >= len(threshs) { 1303 1303 return lowBound 1304 1304 } 1305 1305 return threshs[i]