Skip to content

Commit

Permalink
fix to log weight smoothing
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kall committed Jan 9, 2024
1 parent 627d2e8 commit e0c29e4
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 e0c29e4

Please sign in to comment.