Remove dependency on LoopVectorization

This commit is contained in:
zymon 2024-04-13 16:05:22 +02:00
parent 6de633dbef
commit 5d6860d9b5
3 changed files with 1 additions and 4 deletions

View file

@ -6,13 +6,11 @@ version = "0.3.0"
[deps] [deps]
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2" DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
LoopVectorization = "bdcacae8-1622-11e9-2a5c-532679323890"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
[compat] [compat]
DSP = "0.7" DSP = "0.7"
LoopVectorization = "0.12"
StaticArrays = "1" StaticArrays = "1"
julia = "1.6" julia = "1.6"

View file

@ -215,7 +215,7 @@ function ISM_RectangularRoom_core!(
i_e = min(floor(Int, (τ + Wd / 2) * fs) + 1, Nh) # end i_e = min(floor(Int, (τ + Wd / 2) * fs) + 1, Nh) # end
# Insert yet another impulse into transfer function # Insert yet another impulse into transfer function
@turbo for i i_s:i_e for i i_s:i_e
t = (i - 1) / fs - τ # time signature t = (i - 1) / fs - τ # time signature
w = 0.5 * (1.0 + cos(2π * t / Wd)) # Hann window w = 0.5 * (1.0 + cos(2π * t / Wd)) # Hann window
x = π * fs * t + eps() x = π * fs * t + eps()

View file

@ -6,7 +6,6 @@ using Statistics
using Random using Random
using Random: GLOBAL_RNG using Random: GLOBAL_RNG
using LoopVectorization
using DSP: conv using DSP: conv
include("TxRxModels.jl") include("TxRxModels.jl")