blas/gonum: remove checkZVector helper
@@ -37,18 +37,6 @@ func min(a, b int) int {
return a
}
-func checkZVector(name byte, n int, x []complex128, incX int) {
- if n < 0 {
- panic(nLT0)
- }
- if incX == 0 {
- panic(zeroIncX)
- }
- if (incX > 0 && (n-1)*incX >= len(x)) || (incX < 0 && (1-n)*incX >= len(x)) {
- panic("blas: insufficient " + string(name) + " vector slice length")
- }
-}
-
// blocks returns the number of divisions of the dimension length with the given
// block size.
func blocks(dim, bsize int) int {
