Skip to content

Commit

Permalink
Note that adjust_weights isn't used anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
ShlokG committed Jun 1, 2021
1 parent 0626c11 commit 5cdf1e1
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 @@ -335,7 +335,7 @@ adjust_weights!(c::Matrix{Float64}, loglh::Vector{Float64}, logprior::Vector{Flo
adjust_weights!(c::Cloud, loglh::Vector{Float64}, logprior::Vector{Float64})
```
Update the weights based on the loglh and logprior.
Used in a bridge estimation with draws from the prior.
Not actually used anywhere in the code.
"""
function adjust_weights!(c::Matrix{Float64}, loglh::Vector{Float64}, logprior::Vector{Float64})
@assert size(c, 1) == length(loglh) && size(c, 1) == length(logprior) "Dimensional mismatch"
Expand Down

0 comments on commit 5cdf1e1

Please sign in to comment.