From 724dcf625629733181441dc2c3dea77113682669 Mon Sep 17 00:00:00 2001 From: Can Ozmaden Date: Wed, 17 Nov 2021 11:18:18 +0100 Subject: [PATCH] Remove unused functions and duplicates --- src/tracking_loop.jl | 3 --- src/tracking_state.jl | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/tracking_loop.jl b/src/tracking_loop.jl index 585a6b5..ec28158 100644 --- a/src/tracking_loop.jl +++ b/src/tracking_loop.jl @@ -358,9 +358,6 @@ end function choose(replica::CarrierReplicaCPU, signal::AbstractArray{Complex{T}}) where T <: Number replica.carrier_f32 end -function choose(replica::Nothing, signal::AbstractArray) - nothing -end function choose(replica::DownconvertedSignalCPU, signal::AbstractArray{Complex{Float64}}) replica.downconverted_signal_f64 end diff --git a/src/tracking_state.jl b/src/tracking_state.jl index f4d82ea..9f9cc9c 100644 --- a/src/tracking_state.jl +++ b/src/tracking_state.jl @@ -50,8 +50,6 @@ function DownconvertedSignalCPU(num_ants::NumAnts{N}) where N ) end -@inline gen_blank_carrier_gpu(system::S, num_samples) where {CO <: CuMatrix,S <: AbstractGNSS{CO}} = StructArray{ComplexF32}((CuArray{Float32}(undef, num_samples), CuArray{Float32}(undef, num_samples))) - """ $(SIGNATURES)