From 8fd6393585c7d08462e92a6f7de753646e0d7b69 Mon Sep 17 00:00:00 2001 From: William Chen Date: Fri, 19 Mar 2021 16:04:24 -0400 Subject: [PATCH] Add missing parameter type to add_parameters_to-cloud --- src/particle.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/particle.jl b/src/particle.jl index 4732137..eb38a8d 100644 --- a/src/particle.jl +++ b/src/particle.jl @@ -657,7 +657,7 @@ function add_parameters_to_cloud(old_cloud_file::String, para::ParameterVector, regime_switching = regime_switching) end -function add_parameters_to_cloud(old_cloud::Cloud, para::ParameterVector, old_para_inds::BitVector; +function add_parameters_to_cloud(old_cloud::Cloud, para::ParameterVector{T}, old_para_inds::BitVector; regime_switching::Bool = false) where {T <: Real} # Sample from prior