Fix all go vet issues
This commit is contained in:
parent
204c786103
commit
b5707ab71c
13 changed files with 195 additions and 170 deletions
|
@ -8,7 +8,7 @@ func Abs(x int) int {
|
|||
return x
|
||||
}
|
||||
|
||||
// pmod is a mositive modulo
|
||||
// Pmod is a mositive modulo
|
||||
// golang's % is a "remainder" function si misbehaves for negative modulus inputs
|
||||
func Pmod(x, d int) int {
|
||||
if x == 0 || d == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue