Skip to content

Commit

Permalink
Re-enable laplace tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 24, 2024
1 parent da5b4f6 commit 0b9d795
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test-model-laplace.R
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ test_that("laplace() runs when all arguments specified validly", {
expect_equal(fit1$mode()$metadata()$jacobian, as.integer(ok_arg_values$jacobian))
expect_equal(fit1$mode()$metadata()$init_alpha, ok_arg_values$opt_args$init_alpha)

# https://github.com/stan-dev/cmdstan/issues/1242
#expect_equal(fit1$mode()$metadata()$tol_obj, ok_arg_values$opt_args$tol_obj, tolerance = 0)
expect_equal(fit1$mode()$metadata()$tol_obj, ok_arg_values$opt_args$tol_obj, tolerance = 0)

# leaving all at default (except 'data')
expect_laplace_output(fit2 <- mod$laplace(data = data_list, seed = 123))
Expand Down

0 comments on commit 0b9d795

Please sign in to comment.