Skip to content

Commit e3e187b

Browse files
authored
Merge pull request #37 from YingboMa/cy/fix
No `ivdep` when it's not ivdep
2 parents 51da7e3 + e88a13f commit e3e187b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/lu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ end
9393
function apply_permutation_threaded!(P, A)
9494
batchsize = cld(2000, length(P))
9595
@batch minbatch=batchsize for j in axes(A, 2)
96-
@inbounds @simd ivdep for i in axes(P, 1)
96+
@inbounds for i in axes(P, 1)
9797
i′ = P[i]
9898
tmp = A[i, j]
9999
A[i, j] = A[i′, j]

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const mylu = RecursiveFactorization.lu
1111

1212
function testlu(A, MF, BF)
1313
@test MF.info == BF.info
14-
@test norm(MF.L*MF.U - A[MF.p, :], Inf) < length(A)*sqrt(eps(real(one(float(first(A))))))/16
14+
@test norm(MF.L*MF.U - A[MF.p, :], Inf) < 200sqrt(eps(real(one(float(first(A))))))
1515
nothing
1616
end
1717
testlu(A::Adjoint, MF::Adjoint, BF) = testlu(parent(A), parent(MF), BF)

0 commit comments

Comments
 (0)