Skip to content

Commit

Permalink
fix test averaging
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Sep 10, 2024
1 parent df3dbb5 commit c759814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-averaging.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ test_that("averaging results", {
results$weighted[i] <- ssdtools::ssd_hc(fit, multi_est = FALSE)$est
}
expect_snapshot_data(results, "averaging")
results$change <- (results$weighted - results$multi) / results$weighted
results$change <- (results$multi - results$weighted) / results$weighted
summary(results$change)
})

0 comments on commit c759814

Please sign in to comment.