Skip to content

Commit

Permalink
Merge pull request #332 from n-kall/pareto_k
Browse files Browse the repository at this point in the history
fix to log weight smoothing
  • Loading branch information
paul-buerkner authored Jan 9, 2024
2 parents 627d2e8 + e0c29e4 commit 1210f4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/pareto_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pareto_diags.default <- function(x,
extra_diags = TRUE,
verbose = verbose,
smooth_draws = FALSE,
are_log_weights = FALSE,
are_log_weights = are_log_weights,
...)

return(smoothed$diagnostics)
Expand Down Expand Up @@ -337,6 +337,7 @@ pareto_smooth.default <- function(x,
x,
ndraws_tail = ndraws_tail,
tail = tail,
are_log_weights = are_log_weights,
...
)
k <- smoothed$k
Expand Down

0 comments on commit 1210f4a

Please sign in to comment.