Skip to content

Commit

Permalink
fix mmm test
Browse files Browse the repository at this point in the history
  • Loading branch information
helske committed Sep 7, 2024
1 parent c68247c commit c1c9129
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/testthat/test-build_mmm.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ test_that("build_mmm returns object of class 'mhmm'", {
expect_error(
model <- build_mmm(
obs,
transition_probs = list(diag(2), diag(2)), initial_probs = list(1:0, 1:0)
transition_probs = list(diag(s), diag(s)),
initial_probs = list(rep(1/s, s), rep(1/s, s))
),
NA
)
Expand Down

0 comments on commit c1c9129

Please sign in to comment.