Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loosen residual test tolerance slightly #321

Merged
merged 1 commit into from Mar 17, 2024

Conversation

bbolker
Copy link
Contributor

@bbolker bbolker commented Mar 17, 2024

The newest version of glmmTMB is about to go to CRAN. We changed the parameterization of the Gaussian dispersion from log(variance) to log(SD), which changes results slightly and made one of your comparisons testing with glmmTMB fail (the deviations were only 3e-08 on average, but this is larger than the default expect_equal() tolerance of ~ 1.5e-08 ...) This PR loosens the tolerance for that test slightly (to 1e-05; 1e-06 or 1e-07 would probably be sufficient but I don't think it hurts to leave it at 1e-05). Since this is a tiny change you could always reject the PR and change the tolerance setting however you preferred ...

@seananderson seananderson merged commit baf8bc5 into pbs-assess:main Mar 17, 2024
@seananderson
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants