Skip to content

Commit

Permalink
fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Feb 29, 2024
1 parent 9dbf75e commit be0266c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test_E_loo.R
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ test_that("E_loo.matrix equal to reference", {
test_that("E_loo throws correct errors and warnings", {
# warnings
expect_no_warning(E_loo.matrix(x, psis_mat))
# now warnings if x is constant, binary, NA, NaN, Inf
# no warnings if x is constant, binary, NA, NaN, Inf
expect_no_warning(E_loo.matrix(x*0, psis_mat))
expect_no_warning(E_loo.matrix(0+(x>0), psis_mat))
expect_no_warning(E_loo.matrix(x+NA, psis_mat))
Expand Down

0 comments on commit be0266c

Please sign in to comment.