mirror of
https://github.com/gonum/gonum.git
synced 2025-10-04 14:52:57 +08:00
lapack/{gonum,testlapack}: apply semgrep-go suggestions (#1743)
This commit is contained in:

committed by
GitHub

parent
27ed1a9eeb
commit
030e69b6a7
@@ -175,7 +175,7 @@ func dtrexcTest(t *testing.T, impl Dtrexcer, rnd *rand.Rand, n, ifst, ilst, extr
|
||||
if modMin <= j && j < modMax {
|
||||
continue
|
||||
}
|
||||
if q.Data[i*q.Stride+j]-qCopy.Data[i*qCopy.Stride+j] != 0 {
|
||||
if q.Data[i*q.Stride+j] != qCopy.Data[i*qCopy.Stride+j] {
|
||||
t.Errorf("%v: unexpected modification of Q[%v,%v]", name, i, j)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user