diff --git a/misc.go b/misc.go index a88ee5f..3e21354 100644 --- a/misc.go +++ b/misc.go @@ -215,7 +215,7 @@ func max(a, b int) int { } func mod(a, b int) int { - return (a % b + b) % b + return (a%b + b) % b } // We don't need no generic code