mirror of
https://github.com/gonum/gonum.git
synced 2025-10-16 04:00:48 +08:00
Fixed reference behavior for Drotm with flag -2 and updated tests
This commit is contained in:
@@ -431,7 +431,7 @@ func (Blas) Drotm(n int, x []float64, incX int, y []float64, incY int, p blas.Dr
|
||||
}
|
||||
flag := p.Flag
|
||||
if flag == -2 {
|
||||
panic("flag is negative 2")
|
||||
return
|
||||
}
|
||||
if incX == incY && incX > 0 {
|
||||
nsteps := n * incX
|
||||
|
Reference in New Issue
Block a user