blas/gonum: clean up Dsymm
Remove harmless but unnecessary shadowing of ctmp slice.
MODIFY
blas/gonum/level3double.go
blas/gonum/level3double.go
@@ -328,7 +328,6 @@ func (Implementation) Dsymm(s blas.Side, ul blas.Uplo, m, n int, alpha float64,
atmp = a[i*lda+k]
}
atmp *= alpha
- ctmp := c[i*ldc : i*ldc+n]
f64.AxpyUnitaryTo(ctmp, atmp, b[k*ldb:k*ldb+n], ctmp)
}
for k := i + 1; k < m; k++ {
@@ -339,7 +338,6 @@ func (Implementation) Dsymm(s blas.Side, ul blas.Uplo, m, n int, alpha float64,
atmp = a[k*lda+i]
}
atmp *= alpha
- ctmp := c[i*ldc : i*ldc+n]
f64.AxpyUnitaryTo(ctmp, atmp, b[k*ldb:k*ldb+n], ctmp)
}
}

MODIFY
blas/gonum/level3single.go
blas/gonum/level3single.go
@@ -334,7 +334,6 @@ func (Implementation) Ssymm(s blas.Side, ul blas.Uplo, m, n int, alpha float32,
atmp = a[i*lda+k]
}
atmp *= alpha
- ctmp := c[i*ldc : i*ldc+n]
f32.AxpyUnitaryTo(ctmp, atmp, b[k*ldb:k*ldb+n], ctmp)
}
for k := i + 1; k < m; k++ {
@@ -345,7 +344,6 @@ func (Implementation) Ssymm(s blas.Side, ul blas.Uplo, m, n int, alpha float32,
atmp = a[k*lda+i]
}
atmp *= alpha
- ctmp := c[i*ldc : i*ldc+n]
f32.AxpyUnitaryTo(ctmp, atmp, b[k*ldb:k*ldb+n], ctmp)
}
}

blas/gonum: clean up Dsymm

Remove harmless but unnecessary shadowing of ctmp slice.