Skip to content

Commit

Permalink
assume int
Browse files Browse the repository at this point in the history
  • Loading branch information
sonroyaalmerol authored Feb 21, 2025
1 parent 106a9f2 commit 48e55ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/vss/vss.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ import (
)

// Min returns the smaller of a and b.
func Min[T constraints.Ordered](a, b T) T {
func Min(a, b int) int {
if a < b {
return a
}
return b
}

// Max returns the larger of a and b.
func Max[T constraints.Ordered](a, b T) T {
func Max(a, b int) int {
if a > b {
return a
}
Expand Down

0 comments on commit 48e55ed

Please sign in to comment.