all: replace min/max helpers with min/max builtins

This commit is contained in:
Eng Zer Jun
2024-04-06 17:54:32 +08:00
committed by GitHub
parent 8a2036b741
commit e44948ca04
20 changed files with 5 additions and 228 deletions

View File

@@ -263,17 +263,3 @@ func (t TriangularBand) From(a TriangularBandCols) {
}
dst.From(src)
}
func min(a, b int) int {
if a < b {
return a
}
return b
}
func max(a, b int) int {
if a > b {
return a
}
return b
}