Skip to content

Commit

Permalink
Fix generate_free_blocks call
Browse files Browse the repository at this point in the history
  • Loading branch information
ShlokG committed Feb 22, 2022
1 parent 279c6ce commit 2a973f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smc_main.jl
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ function smc(loglikelihood::Function, parameters::ParameterVector{U}, data::Matr
θ_bar_fr = θ_bar[free_para_inds]

# Generate random parameter blocks
blocks_free = generate_free_blocks(free_para_inds, n_blocks)
blocks_free = generate_free_blocks(n_free_para, n_blocks)
blocks_all = generate_all_blocks(blocks_free, free_para_inds)

new_particles = if parallel
Expand Down

0 comments on commit 2a973f6

Please sign in to comment.