Skip to content

Commit

Permalink
Merge branch 'stan-dev:master' into autothin
Browse files Browse the repository at this point in the history
  • Loading branch information
n-kall authored Jan 10, 2024
2 parents c81850b + 0322b46 commit 5a9f5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-pareto_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ test_that("pareto_smooth works for log_weights", {
ps <- pareto_smooth(lw, are_log_weights = TRUE, verbose = FALSE, ndraws_tail = 10, return_k = TRUE)

# only right tail is smoothed
expect_equal(ps$x[1:15], lw[1:15])
expect_equal(ps$x[1:15] + max(lw), lw[1:15])

expect_true(ps$diagnostics$khat > 0.7)

Expand Down

0 comments on commit 5a9f5af

Please sign in to comment.