Update go dependencies

This commit is contained in:
Manuel de Brito Fontes 2017-08-16 09:09:05 -03:00
parent 6438c9f6fe
commit baf9cc47bd
53 changed files with 2802 additions and 374 deletions

View file

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