Skip to content

Commit 640c02c

Browse files
committed
Update test
1 parent f4cc567 commit 640c02c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

math/vector/vector_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ func BenchmarkApplyConcurrencyN12(b *testing.B) {
3535
go func(i int) {
3636
defer wg.Done()
3737

38+
row := m.Row(i)
3839
for j := range q {
39-
data[i] += m.At(i, j) * v.Data[j]
40+
data[i] += row[j] * v.Data[j]
4041
}
4142
}(i)
4243
}

0 commit comments

Comments
 (0)