mirror of
https://github.com/gonum/gonum.git
synced 2025-10-05 15:16:59 +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:
|
case int(incY) < 0:
|
||||||
ScalInc(beta, y, n, uintptr(int(-incY)))
|
ScalInc(beta, y, n, uintptr(int(-incY)))
|
||||||
case incY == 1:
|
case incY == 1:
|
||||||
ScalUnitary(beta, y)
|
ScalUnitary(beta, y[:n])
|
||||||
default:
|
default:
|
||||||
ScalInc(beta, y, n, incY)
|
ScalInc(beta, y, n, incY)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user