Skip to content

Commit 7fc34cf

Browse files
committed
remove lv from the package
1 parent b9137f6 commit 7fc34cf

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

Project.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
1818
HCubature = "19dc6840-f33b-545b-b366-655c7e3ffd49"
1919
LazyArrays = "5078a376-72f3-5289-bfd5-ec5146d43c02"
2020
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
21-
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
2221
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
2322
MatrixCorrectionTools = "41f81499-25de-46de-b591-c3cfc21e9eaf"
2423
Optim = "429524aa-4258-5aef-a3af-852621145aeb"
@@ -62,7 +61,6 @@ ForwardDiff = "0.10"
6261
HCubature = "1.0.0"
6362
LazyArrays = "0.21, 0.22, 1, 2"
6463
LinearAlgebra = "1.9"
65-
LoopVectorization = "0.12"
6664
MacroTools = "0.5"
6765
MatrixCorrectionTools = "1.2.0"
6866
Optim = "1.0.0"

src/helpers/algebra/common.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ export diageye
22

33
using StatsFuns: logistic
44
using StatsFuns: softmax, softmax!
5-
using LoopVectorization
65
using SpecialFunctions: gamma, loggamma
76

87
import LinearAlgebra
@@ -98,7 +97,7 @@ function mul_trace(A::AbstractMatrix, B::AbstractMatrix)
9897
@assert (sA === sB) && (length(sA) === 2) && (first(sA) === last(sA))
9998
result = zero(promote_type(eltype(A), eltype(B)))
10099
n = first(sA)
101-
@turbo for i in 1:n
100+
for i in 1:n
102101
for j in 1:n
103102
result += A[i, j] * B[j, i]
104103
end

test/helpers/algebra/common_tests.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,7 @@
5959
A = rand(rng, T1, size, size)
6060
B = rand(rng, T2, size, size)
6161

62-
# See: https://github.com/JuliaSIMD/LoopVectorization.jl/issues/377
63-
# Remove if statement once fixed
64-
if T1 !== Float32 || T2 !== Float32
65-
@test ReactiveMP.mul_trace(A, B) tr(A * B)
66-
end
62+
@test ReactiveMP.mul_trace(A, B) tr(A * B)
6763

6864
a = rand(rng, T1)
6965
b = rand(rng, T2)

0 commit comments

Comments
 (0)