Update vendor github.com/beorn7/perks/quantile

This commit is contained in:
Ben Kochie 2017-08-30 17:45:30 +02:00
parent 22270c168d
commit c7a2ae9b14
2 changed files with 4 additions and 4 deletions

View file

@ -133,7 +133,7 @@ func (s *Stream) Query(q float64) float64 {
if l == 0 {
return 0
}
i := int(float64(l) * q)
i := int(math.Ceil(float64(l) * q))
if i > 0 {
i -= 1
}

6
vendor/vendor.json vendored
View file

@ -9,10 +9,10 @@
"revisionTime": "2016-04-25T09:32:37Z"
},
{
"checksumSHA1": "4QnLdmB1kG3N+KlDd1N+G9TWAGQ=",
"checksumSHA1": "spyv5/YFBjYyZLZa1U2LBfDR8PM=",
"path": "github.com/beorn7/perks/quantile",
"revision": "3ac7bf7a47d159a033b107610db8a1b6575507a4",
"revisionTime": "2016-02-29T21:34:45Z"
"revision": "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9",
"revisionTime": "2016-08-04T10:47:26Z"
},
{
"checksumSHA1": "yqF125xVSkmfLpIVGrLlfE05IUk=",