From 2be2c1168085e0234a0cf06dab93b6d763bf3f7d Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 2 May 2019 22:25:54 -0700 Subject: Linting more (and fixing more) Signed-off-by: Dave Henderson --- math/math.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math') diff --git a/math/math.go b/math/math.go index 08feb1fc..08a8eee3 100644 --- a/math/math.go +++ b/math/math.go @@ -34,7 +34,7 @@ func Seq(start, end, step int64) []int64 { } // adjust the end so it aligns exactly (avoids infinite loop!) - end = end - (end-start)%step + end -= (end - start) % step seq := []int64{start} last := start -- cgit v1.2.3