Skip to content

Commit

Permalink
Add missing psis_resample=FALSE to pathfinder test
Browse files Browse the repository at this point in the history
closes #976
  • Loading branch information
jgabry committed Jul 17, 2024
1 parent 487009b commit 10ca2d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-fit-init.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ test_that("Multi Pathfinder method works as init", {
test_that("Pathfinder method with psis_resample as false works as init", {
mod_logistic <- testing_model("logistic")
utils::capture.output(fit_path_init <- mod_logistic$pathfinder(
seed=1234, data = data_list_logistic, refresh = 0, num_paths = 1))
seed=1234, data = data_list_logistic, refresh = 0, num_paths = 1,
psis_resample = FALSE))
expect_no_error(test_inits(mod_logistic, fit_path_init, data_list_logistic))
})

Expand Down

0 comments on commit 10ca2d4

Please sign in to comment.