mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 23:26:52 +08:00
asm/f64: fix GemvT by correctly slicing argument to ScalUnitary
This commit is contained in:

committed by
Vladimír Chalupecký

parent
6ea0089704
commit
fd50e23eae
@@ -99,7 +99,7 @@ func GemvT(m, n uintptr, alpha float64, a []float64, lda uintptr, x []float64, i
|
||||
case int(incY) < 0:
|
||||
ScalInc(beta, y, n, uintptr(int(-incY)))
|
||||
case incY == 1:
|
||||
ScalUnitary(beta, y)
|
||||
ScalUnitary(beta, y[:n])
|
||||
default:
|
||||
ScalInc(beta, y, n, incY)
|
||||
}
|
||||
|
Reference in New Issue
Block a user