Skip to content

Commit 3f605b9

Browse files
committed
Fix copy test
1 parent 7d983ec commit 3f605b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/copy.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,13 @@ using LoopVectorization, OffsetArrays, Test
140140
end
141141
function scattercopyavx!(H,a,j)
142142
@avx for i eachindex(j), k eachindex(a)
143-
H[j[i],k] = A[k]
143+
H[j[i],k] = a[k]
144144
end
145145
H
146146
end
147147
function scattercopy!(H,a,j)
148148
@inbounds for i eachindex(j), k eachindex(a)
149-
H[j[i],k] = A[k]
149+
H[j[i],k] = a[k]
150150
end
151151
H
152152
end

0 commit comments

Comments
 (0)