Skip to content

Commit

Permalink
Add missing parameter type to add_parameters_to-cloud
Browse files Browse the repository at this point in the history
  • Loading branch information
chenwilliam77 committed Mar 19, 2021
1 parent fc82562 commit 8fd6393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/particle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fd6393

Please sign in to comment.