lapack/lapack64: call lapack functions with stride always at least 1
MODIFY
mat/eigen.go
mat/eigen.go
@@ -187,15 +187,10 @@ func (e *Eigen) Factorize(a Matrix, kind EigenKind) (ok bool) {
if left {
vl = *NewDense(r, r, nil)
jobvl = lapack.LeftEVCompute
- } else {
- vl.mat.Stride = 1
}
-
if right {
vr = *NewDense(c, c, nil)
jobvr = lapack.RightEVCompute
- } else {
- vr.mat.Stride = 1
}
wr := getFloats(c, false)

MODIFY
mat/svd.go
mat/svd.go
@@ -99,7 +99,6 @@ func (svd *SVD) Factorize(a Matrix, kind SVDKind) (ok bool) {
Data: use(svd.u.Data, m*min(m, n)),
}
default:
- svd.u.Stride = 1
jobU = lapack.SVDNone
}
switch {
@@ -120,7 +119,6 @@ func (svd *SVD) Factorize(a Matrix, kind SVDKind) (ok bool) {
}
jobVT = lapack.SVDStore
default:
- svd.vt.Stride = 1
jobVT = lapack.SVDNone
}

lapack/lapack64: call lapack functions with stride always at least 1